Skip to content

Commit

Permalink
examples: fix oput build on windows
Browse files Browse the repository at this point in the history
> ** Cannot resolve symbols for ..\libcurl-helper.a(curl-helper.o):
>  win_alloc_socket
  • Loading branch information
ygrek committed Nov 27, 2017
1 parent ebe6f65 commit 18bc6ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -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 $@
Expand Down

0 comments on commit 18bc6ab

Please sign in to comment.