Blame otp-rpath.patch

Gérard Milmeister e245b2
diff -up otp_src_R12B-4/lib/crypto/c_src/Makefile.in.rpath otp_src_R12B-4/lib/crypto/c_src/Makefile.in
Gérard Milmeister e245b2
--- otp_src_R12B-4/lib/crypto/c_src/Makefile.in.rpath	2008-10-25 22:20:42.000000000 +0200
Gérard Milmeister e245b2
+++ otp_src_R12B-4/lib/crypto/c_src/Makefile.in	2008-10-25 22:20:59.000000000 +0200
Gérard Milmeister e245b2
@@ -80,7 +80,7 @@ ifeq ($(HOST_OS),)
Gérard Milmeister 8d9a91
 HOST_OS := $(shell $(ERL_TOP)/erts/autoconf/config.guess)
Gérard Milmeister 8d9a91
 endif
Gérard Milmeister e245b2
 DYNAMIC_CRYPTO_LIB=@SSL_DYNAMIC_ONLY@
Gérard Milmeister 8d9a91
-LD_R_FLAG=@DED_LD_FLAG_RUNTIME_LIBRARY_PATH@
Gérard Milmeister 8d9a91
+LD_R_FLAG=
Gérard Milmeister da518f
 ifeq ($(strip $(LD_R_FLAG)),)
Gérard Milmeister da518f
 LD_R_OPT =
Gérard Milmeister da518f
 else
Gérard Milmeister e245b2
diff -up otp_src_R12B-4/lib/crypto/priv/Makefile.rpath otp_src_R12B-4/lib/crypto/priv/Makefile
Gérard Milmeister e245b2
--- otp_src_R12B-4/lib/crypto/priv/Makefile.rpath	2008-10-25 22:21:11.000000000 +0200
Gérard Milmeister e245b2
+++ otp_src_R12B-4/lib/crypto/priv/Makefile	2008-10-25 22:21:33.000000000 +0200
Gérard Milmeister e245b2
@@ -60,7 +60,7 @@ OBJS = $(OBJDIR)/crypto_drv.o
Gérard Milmeister 8d9a91
 # ----------------------------------------------------
Gérard Milmeister 8d9a91
 
Gérard Milmeister 8d9a91
 $(SO_DRIVER): $(OBJS)
Gérard Milmeister 8d9a91
-	$(SO_LD) $(SO_LDFLAGS) -L$(SO_SSL_LIBDIR) -Wl,-R$(SO_SSL_LIBDIR) \
Gérard Milmeister 8d9a91
+	$(SO_LD) $(SO_LDFLAGS) -L$(SO_SSL_LIBDIR) \
Gérard Milmeister 8d9a91
 	-o $@ $^ -lcrypto
Gérard Milmeister 8d9a91
 
Gérard Milmeister 8d9a91
 $(DLL_DRIVER): $(OBJS)
Gérard Milmeister e245b2
diff -up otp_src_R12B-4/lib/ssl/c_src/Makefile.in.rpath otp_src_R12B-4/lib/ssl/c_src/Makefile.in
Gérard Milmeister e245b2
--- otp_src_R12B-4/lib/ssl/c_src/Makefile.in.rpath	2008-10-25 22:21:51.000000000 +0200
Gérard Milmeister e245b2
+++ otp_src_R12B-4/lib/ssl/c_src/Makefile.in	2008-10-25 22:22:21.000000000 +0200
Gérard Milmeister e245b2
@@ -111,9 +111,9 @@ ifeq ($(findstring darwin,$(TARGET)),dar
Gérard Milmeister da518f
 CC_R_FLAG =
Gérard Milmeister 8d9a91
 else
Gérard Milmeister da518f
 ifeq ($(findstring osf,$(TARGET)),osf)		# osf1: -Wl,-rpath,
Gérard Milmeister da518f
-CC_R_FLAG = -Wl,-rpath,
Gérard Milmeister da518f
+CC_R_FLAG =
Gérard Milmeister da518f
 else						# Default: -Wl,-R
Gérard Milmeister da518f
-CC_R_FLAG = -Wl,-R
Gérard Milmeister da518f
+CC_R_FLAG =
Gérard Milmeister da518f
 endif
Gérard Milmeister 8d9a91
 endif
Gérard Milmeister e245b2
 endif