File: 0002-Do-not-link-library-with-custom.patch

package info (click to toggle)
ocamlodbc 2.15-7
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 476 kB
  • sloc: ansic: 842; ml: 779; makefile: 341; sh: 7
file content (21 lines) | stat: -rw-r--r-- 642 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
From: Stephane Glondu <steph@glondu.net>
Date: Wed, 14 Oct 2020 14:11:16 +0200
Subject: Do not link library with -custom

---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index e8074e0..6e96a35 100644
--- a/Makefile
+++ b/Makefile
@@ -89,7 +89,7 @@ $(LIB_C): $(OBJFILES)
 	$(RANLIB) $@
 
 $(LIB): $(OBJOCAML) $(LIBOBJ) $(LIB_C)
-	$(OCAMLC) -a -linkall -custom -o $@ -cclib -locamlodbc \
+	$(OCAMLC) -a -linkall -o $@ -cclib -locamlodbc \
 		$(LINKFLAGS) $(OBJOCAML) $(LIBOBJ)
 $(LIB_OPT): $(OBJOCAML_OPT) $(LIBOBJ_OPT) $(LIB_C)
 	$(OCAMLOPT) -a -linkall -o $(LIB_OPT) -cclib -locamlodbc \