- updated opt patch
[packages/ocaml-curl.git] / ocaml_opt.patch
1 --- ocurl-0.7.1/Makefile.in~    2014-05-12 22:10:26.000000000 +0200
2 +++ ocurl-0.7.1/Makefile.in     2015-07-25 14:46:23.107163100 +0200
3 @@ -32,7 +32,10 @@
4  endif
5  endif
6  
7 -INSTALL_TARGETS = curl$(EXT_LIB) curl.cmi curl.mli $(TARGETS)
8 +INSTALL_TARGETS = curl.cmi curl.mli $(TARGETS)
9 +ifeq (@OCAMLBEST@,opt)
10 +INSTALL_TARGETS += curl.a
11 +endif
12  ifeq (@OCAML_HAS_BIN_ANNOT@,yes)
13  INSTALL_TARGETS += curl.cmt curl.cmti
14  endif
15 @@ -97,10 +97,10 @@
16                 mkdir -p $(INSTALLDIR)
17                 $(INSTALLDATA) curl.cma $(INSTALLDIR)
18  ifeq (@OCAMLBEST@,opt)
19 -               $(INSTALLDATA) curl.cmxa $(INSTALLDIR)
20 +               $(INSTALLDATA) curl.cmxa curl$(EXT_LIB) $(INSTALLDIR)
21  endif
22                 $(INSTALLDATA) curl.mli curl.cmi $(INSTALLDIR)
23 -               $(INSTALLDATA) curl$(EXT_LIB) libcurl-helper$(EXT_LIB) $(INSTALLDIR)
24 +               $(INSTALLDATA) libcurl-helper$(EXT_LIB) $(INSTALLDIR)
25  endif
26  
27  uninstall:
This page took 0.063492 seconds and 3 git commands to generate.