- updated opt patch
[packages/ocaml-curl.git] / ocaml_opt.patch
CommitLineData
9781d077
JR
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
9ed04161 3@@ -32,7 +32,10 @@
9781d077
JR
4 endif
5 endif
6
9ed04161 7-INSTALL_TARGETS = curl$(EXT_LIB) curl.cmi curl.mli $(TARGETS)
9781d077 8+INSTALL_TARGETS = curl.cmi curl.mli $(TARGETS)
5750614e
JR
9+ifeq (@OCAMLBEST@,opt)
10+INSTALL_TARGETS += curl.a
11+endif
9ed04161
JR
12 ifeq (@OCAML_HAS_BIN_ANNOT@,yes)
13 INSTALL_TARGETS += curl.cmt curl.cmti
14 endif
9781d077
JR
15@@ -97,10 +97,10 @@
16 mkdir -p $(INSTALLDIR)
17 $(INSTALLDATA) curl.cma $(INSTALLDIR)
18 ifeq (@OCAMLBEST@,opt)
19- $(INSTALLDATA) curl.cmxa $(INSTALLDIR)
9ed04161 20+ $(INSTALLDATA) curl.cmxa curl$(EXT_LIB) $(INSTALLDIR)
9781d077
JR
21 endif
22 $(INSTALLDATA) curl.mli curl.cmi $(INSTALLDIR)
9ed04161
JR
23- $(INSTALLDATA) curl$(EXT_LIB) libcurl-helper$(EXT_LIB) $(INSTALLDIR)
24+ $(INSTALLDATA) libcurl-helper$(EXT_LIB) $(INSTALLDIR)
9781d077
JR
25 endif
26
27 uninstall:
This page took 0.042191 seconds and 4 git commands to generate.