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