28 lines
1023 B
Diff
28 lines
1023 B
Diff
From b53eed0544eaa4ac264e405bd73a43ca3fb574d8 Mon Sep 17 00:00:00 2001
|
|
From: "Richard W.M. Jones" <rjones@redhat.com>
|
|
Date: Tue, 24 Jun 2014 10:00:15 +0100
|
|
Subject: [PATCH 1/6] Don't add rpaths to libraries.
|
|
|
|
---
|
|
tools/Makefile | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/tools/Makefile b/tools/Makefile
|
|
index 78d2a1068..fbec019ed 100644
|
|
--- a/tools/Makefile
|
|
+++ b/tools/Makefile
|
|
@@ -157,8 +157,8 @@ $(call byte_and_opt,ocamlmklib,ocamlmklibconfig.cmo config.cmo misc.cmo \
|
|
ocamlmklibconfig.ml: ../config/Makefile Makefile
|
|
(echo 'let bindir = "$(BINDIR)"'; \
|
|
echo 'let supports_shared_libraries = $(SUPPORTS_SHARED_LIBRARIES)';\
|
|
- echo 'let default_rpath = "$(RPATH)"'; \
|
|
- echo 'let mksharedlibrpath = "$(MKSHAREDLIBRPATH)"'; \
|
|
+ echo 'let default_rpath = ""'; \
|
|
+ echo 'let mksharedlibrpath = ""'; \
|
|
echo 'let toolpref = "$(TOOLPREF)"'; \
|
|
sed -n -e 's/^#ml //p' ../config/Makefile) \
|
|
> ocamlmklibconfig.ml
|
|
--
|
|
2.15.1
|
|
|