]> git.pld-linux.org Git - packages/ocaml-curl.git/blob - ocaml_opt.patch
- updated URL, release 5
[packages/ocaml-curl.git] / ocaml_opt.patch
1 --- ocurl-0.9.1/Makefile.in.orig        2020-02-13 23:53:48.000000000 +0100
2 +++ ocurl-0.9.1/Makefile.in     2021-11-22 09:01:46.344220377 +0100
3 @@ -41,16 +41,19 @@
4  ifeq (@OCAMLBEST@,opt)
5  TARGETS += curl.cmxa curl.cmx curl.cmxs
6  ifneq (@OCAML_PKG_lwt_unix@,no)
7 -TARGETS += curl_lwt.cmx curl_lwt.cmxs
8 +TARGETS += curl_lwt.cmx curl_lwt.cmxs curl_lwt$(EXT_OBJ)
9  endif
10  endif
11  
12 -INSTALL_TARGETS = curl$(EXT_LIB) curl.cmi curl.mli $(TARGETS)
13 +INSTALL_TARGETS = curl.cmi curl.mli $(TARGETS)
14 +ifeq (@OCAMLBEST@,opt)
15 +INSTALL_TARGETS += curl.a
16 +endif
17  ifeq (@OCAML_HAS_BIN_ANNOT@,yes)
18  INSTALL_TARGETS += curl.cmt curl.cmti
19  endif
20  ifneq (@OCAML_PKG_lwt_unix@,no)
21 -INSTALL_TARGETS += curl_lwt.cmi curl_lwt.mli curl_lwt$(EXT_OBJ)
22 +INSTALL_TARGETS += curl_lwt.cmi curl_lwt.mli
23  ifeq (@OCAML_HAS_BIN_ANNOT@,yes)
24  INSTALL_TARGETS += curl_lwt.cmt curl_lwt.cmti
25  endif
26 @@ -134,10 +137,10 @@
27                 mkdir -p $(INSTALLDIR)
28                 $(INSTALLDATA) curl.cma $(INSTALLDIR)
29  ifeq (@OCAMLBEST@,opt)
30 -               $(INSTALLDATA) curl.cmxa $(INSTALLDIR)
31 +               $(INSTALLDATA) curl.cmxa curl$(EXT_LIB) $(INSTALLDIR)
32  endif
33                 $(INSTALLDATA) curl.mli curl.cmi $(INSTALLDIR)
34 -               $(INSTALLDATA) curl$(EXT_LIB) libcurl-helper$(EXT_LIB) $(INSTALLDIR)
35 +               $(INSTALLDATA) libcurl-helper$(EXT_LIB) $(INSTALLDIR)
36  endif
37  
38  uninstall:
This page took 0.029478 seconds and 4 git commands to generate.