File: 0003-Fix-installation-on-bytecode-only-architectures.patch

package info (click to toggle)
ocurl 0.9.2-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 976 kB
  • sloc: ansic: 4,194; ml: 2,857; makefile: 198; sh: 169
file content (28 lines) | stat: -rw-r--r-- 923 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From: Stephane Glondu <steph@glondu.net>
Date: Tue, 31 May 2016 10:07:54 +0200
Subject: Fix installation on bytecode-only architectures

Signed-off-by: Stephane Glondu <steph@glondu.net>
---
 Makefile.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile.in b/Makefile.in
index 58e91c7..998ab91 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -45,12 +45,12 @@ TARGETS += curl_lwt.cmx curl_lwt.cmxs
 endif
 endif
 
-INSTALL_TARGETS = curl$(EXT_LIB) curl.cmi curl.mli $(TARGETS)
+INSTALL_TARGETS = $(wildcard curl$(EXT_LIB)) curl.cmi curl.mli $(TARGETS)
 ifeq (@OCAML_HAS_BIN_ANNOT@,yes)
 INSTALL_TARGETS += curl.cmt curl.cmti
 endif
 ifneq (@OCAML_PKG_lwt_unix@,no)
-INSTALL_TARGETS += curl_lwt.cmi curl_lwt.mli curl_lwt$(EXT_OBJ)
+INSTALL_TARGETS += curl_lwt.cmi curl_lwt.mli $(wildcard curl_lwt$(EXT_OBJ))
 ifeq (@OCAML_HAS_BIN_ANNOT@,yes)
 INSTALL_TARGETS += curl_lwt.cmt curl_lwt.cmti
 endif