- fix install without ocaml opt build
[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,13 +32,13 @@
4  TARGETS += curl_lwt.cmo
5  endif
6  ifeq (@OCAMLBEST@,opt)
7 -TARGETS += curl.cmxa
8 +TARGETS += curl.cmxa curl.a
9  ifneq (@OCAML_PKG_lwt@,no)
10  TARGETS += curl_lwt.cmx
11  endif
12  endif
13  
14 -INSTALL_TARGETS = curl.a curl.cmi curl.mli $(TARGETS)
15 +INSTALL_TARGETS = curl.cmi curl.mli $(TARGETS)
16  ifneq (@OCAML_PKG_lwt@,no)
17  INSTALL_TARGETS += curl_lwt.cmi curl_lwt.mli curl_lwt.o
18  endif
19 @@ -97,10 +97,10 @@
20                 mkdir -p $(INSTALLDIR)
21                 $(INSTALLDATA) curl.cma $(INSTALLDIR)
22  ifeq (@OCAMLBEST@,opt)
23 -               $(INSTALLDATA) curl.cmxa $(INSTALLDIR)
24 +               $(INSTALLDATA) curl.cmxa curl.a $(INSTALLDIR)
25  endif
26                 $(INSTALLDATA) curl.mli curl.cmi $(INSTALLDIR)
27 -               $(INSTALLDATA) curl.a libcurl-helper.a $(INSTALLDIR)
28 +               $(INSTALLDATA) libcurl-helper.a $(INSTALLDIR)
29  endif
30  
31  uninstall:
This page took 0.070584 seconds and 3 git commands to generate.