Blame otp-rpath.patch

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