From 18bc6abb5234f95f837d9616edc736dbab39869b Mon Sep 17 00:00:00 2001 From: ygrek Date: Mon, 27 Nov 2017 17:01:32 +0200 Subject: [PATCH] examples: fix oput build on windows > ** Cannot resolve symbols for ..\libcurl-helper.a(curl-helper.o): > win_alloc_socket --- examples/Makefile.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/Makefile.in b/examples/Makefile.in index 86a5a6b..55b4a15 100644 --- a/examples/Makefile.in +++ b/examples/Makefile.in @@ -57,10 +57,10 @@ test_lwt_unit.opt: ../curl.cmxa ../curl_lwt.cmx test_lwt_unit.ml $(FINDLIB) opt $(FINDLIB_LWT_FLAGS) $(LFLAGS) $^ -o $@ oput: ../curl.cma oput.ml - $(FINDLIB) c -custom -package bytes -linkpkg $(LFLAGS) $^ -o $@ + $(FINDLIB) c -custom -package bytes,unix -linkpkg $(LFLAGS) $^ -o $@ oput.opt: ../curl.cmxa oput.ml - $(FINDLIB) opt -package bytes -linkpkg $(LFLAGS) $^ -o $@ + $(FINDLIB) opt -package bytes,unix -linkpkg $(LFLAGS) $^ -o $@ %: %.cmo ../curl.cma $(OCBYTE) -custom $(LFLAGS) $(OCURLLIB) $< -o $@ -- 2.11.4.GIT