77bcef6
From 9378a6a792cd1e2f6861483a2a73122b8c5296dd Mon Sep 17 00:00:00 2001
a071122
From: "Richard W.M. Jones" <rjones@redhat.com>
7335bbf
Date: Tue, 24 Jun 2014 10:00:15 +0100
77bcef6
Subject: [PATCH 4/9] Don't add rpaths to libraries.
a071122
a071122
---
a4c8f9a
 tools/Makefile | 4 ++--
a4c8f9a
 1 file changed, 2 insertions(+), 2 deletions(-)
a071122
5f905fc
diff --git a/tools/Makefile b/tools/Makefile
1da04a1
index ee0e0be4c..7c96b6405 100644
5f905fc
--- a/tools/Makefile
5f905fc
+++ b/tools/Makefile
1da04a1
@@ -153,8 +153,8 @@ $(call byte_and_opt,ocamlmklib,ocamlmklibconfig.cmo config.cmo \
1da04a1
 ocamlmklibconfig.ml: $(ROOTDIR)/Makefile.config Makefile
22dd712
 	(echo 'let bindir = "$(BINDIR)"'; \
7335bbf
          echo 'let supports_shared_libraries = $(SUPPORTS_SHARED_LIBRARIES)';\
a4c8f9a
-         echo 'let default_rpath = "$(RPATH)"'; \
7335bbf
-         echo 'let mksharedlibrpath = "$(MKSHAREDLIBRPATH)"'; \
a4c8f9a
+         echo 'let default_rpath = ""'; \
7335bbf
+         echo 'let mksharedlibrpath = ""'; \
1da04a1
          echo 'let toolpref = "$(TOOLPREF)"';) \
7335bbf
         > ocamlmklibconfig.ml
1da04a1
 
a071122
-- 
77bcef6
2.22.0.rc3
a071122