|
|
943316 |
From a2e70caa1cf05c1dd8038cda557de60f935d4d6b Mon Sep 17 00:00:00 2001
|
|
Peter Lemenkov |
9cd955 |
From: Peter Lemenkov <lemenkov@gmail.com>
|
|
Peter Lemenkov |
9cd955 |
Date: Thu, 25 Feb 2010 16:57:43 +0300
|
|
|
f6c950 |
Subject: [PATCH 02/13] Remove rpath
|
|
Peter Lemenkov |
9cd955 |
|
|
Peter Lemenkov |
9cd955 |
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
|
|
Peter Lemenkov |
9cd955 |
---
|
|
Peter Lemenkov |
9cd955 |
lib/crypto/c_src/Makefile.in | 2 +-
|
|
Peter Lemenkov |
9cd955 |
lib/crypto/priv/Makefile | 2 +-
|
|
Peter Lemenkov |
9cd955 |
lib/ssl/c_src/Makefile.in | 6 +++---
|
|
Peter Lemenkov |
9cd955 |
3 files changed, 5 insertions(+), 5 deletions(-)
|
|
Peter Lemenkov |
9cd955 |
|
|
Peter Lemenkov |
9cd955 |
diff --git a/lib/crypto/c_src/Makefile.in b/lib/crypto/c_src/Makefile.in
|
|
|
943316 |
index 040adcf..48f931d 100644
|
|
Peter Lemenkov |
9cd955 |
--- a/lib/crypto/c_src/Makefile.in
|
|
Peter Lemenkov |
9cd955 |
+++ b/lib/crypto/c_src/Makefile.in
|
|
Peter Lemenkov |
9cd955 |
@@ -83,7 +83,7 @@ endif
|
|
Peter Lemenkov |
9cd955 |
DYNAMIC_CRYPTO_LIB=@SSL_DYNAMIC_ONLY@
|
|
Peter Lemenkov |
9cd955 |
|
|
Peter Lemenkov |
9cd955 |
ifeq ($(DYNAMIC_CRYPTO_LIB),yes)
|
|
Peter Lemenkov |
9cd955 |
-SSL_DED_LD_RUNTIME_LIBRARY_PATH = @SSL_DED_LD_RUNTIME_LIBRARY_PATH@
|
|
Peter Lemenkov |
9cd955 |
+SSL_DED_LD_RUNTIME_LIBRARY_PATH =
|
|
Peter Lemenkov |
9cd955 |
CRYPTO_LINK_LIB=$(SSL_DED_LD_RUNTIME_LIBRARY_PATH) -L$(SSL_LIBDIR) -lcrypto
|
|
Peter Lemenkov |
9cd955 |
else
|
|
Peter Lemenkov |
9cd955 |
SSL_DED_LD_RUNTIME_LIBRARY_PATH=
|
|
Peter Lemenkov |
9cd955 |
diff --git a/lib/crypto/priv/Makefile b/lib/crypto/priv/Makefile
|
|
Peter Lemenkov |
96952b |
index 0989f14..0d29444 100644
|
|
Peter Lemenkov |
9cd955 |
--- a/lib/crypto/priv/Makefile
|
|
Peter Lemenkov |
9cd955 |
+++ b/lib/crypto/priv/Makefile
|
|
Peter Lemenkov |
96952b |
@@ -60,7 +60,7 @@ OBJS = $(OBJDIR)/crypto.o
|
|
Peter Lemenkov |
9cd955 |
# ----------------------------------------------------
|
|
Peter Lemenkov |
9cd955 |
|
|
Peter Lemenkov |
96952b |
$(SO_NIFLIB): $(OBJS)
|
|
Peter Lemenkov |
9cd955 |
- $(SO_LD) $(SO_LDFLAGS) -L$(SO_SSL_LIBDIR) -Wl,-R$(SO_SSL_LIBDIR) \
|
|
Peter Lemenkov |
9cd955 |
+ $(SO_LD) $(SO_LDFLAGS) -L$(SO_SSL_LIBDIR) \
|
|
Peter Lemenkov |
9cd955 |
-o $@ $^ -lcrypto
|
|
Peter Lemenkov |
9cd955 |
|
|
Peter Lemenkov |
96952b |
$(DLL_NIFLIB): $(OBJS)
|
|
Peter Lemenkov |
9cd955 |
diff --git a/lib/ssl/c_src/Makefile.in b/lib/ssl/c_src/Makefile.in
|
|
Peter Lemenkov |
9cd955 |
index 49a209f..5e6c74e 100644
|
|
Peter Lemenkov |
9cd955 |
--- a/lib/ssl/c_src/Makefile.in
|
|
Peter Lemenkov |
9cd955 |
+++ b/lib/ssl/c_src/Makefile.in
|
|
Peter Lemenkov |
9cd955 |
@@ -105,7 +105,7 @@ else
|
|
Peter Lemenkov |
9cd955 |
SSL_MAKEFILE =
|
|
Peter Lemenkov |
9cd955 |
endif
|
|
Peter Lemenkov |
9cd955 |
|
|
Peter Lemenkov |
9cd955 |
-CC_R_FLAG=@CFLAG_RUNTIME_LIBRARY_PATH@
|
|
Peter Lemenkov |
9cd955 |
+CC_R_FLAG=
|
|
Peter Lemenkov |
9cd955 |
|
|
Peter Lemenkov |
9cd955 |
ifeq ($(findstring @,$(CC_R_FLAG)),@)
|
|
Peter Lemenkov |
9cd955 |
# Old erts configure used which hasn't replaced @CFLAG_RUNTIME_LIBRARY_PATH@;
|
|
Peter Lemenkov |
9cd955 |
@@ -117,7 +117,7 @@ else
|
|
Peter Lemenkov |
9cd955 |
ifeq ($(findstring osf,$(TARGET)),osf) # osf1: -Wl,-rpath,
|
|
Peter Lemenkov |
9cd955 |
CC_R_FLAG = -Wl,-rpath,
|
|
Peter Lemenkov |
9cd955 |
else # Default: -Wl,-R
|
|
Peter Lemenkov |
9cd955 |
-CC_R_FLAG = -Wl,-R
|
|
Peter Lemenkov |
9cd955 |
+CC_R_FLAG =
|
|
Peter Lemenkov |
9cd955 |
endif
|
|
Peter Lemenkov |
9cd955 |
endif
|
|
Peter Lemenkov |
9cd955 |
endif
|
|
Peter Lemenkov |
9cd955 |
@@ -125,7 +125,7 @@ endif
|
|
Peter Lemenkov |
9cd955 |
ifeq ($(strip $(CC_R_FLAG)),)
|
|
Peter Lemenkov |
9cd955 |
CC_R_OPT =
|
|
Peter Lemenkov |
9cd955 |
else
|
|
Peter Lemenkov |
9cd955 |
-CC_R_OPT = $(CC_R_FLAG)$(SSL_LIBDIR)
|
|
Peter Lemenkov |
9cd955 |
+CC_R_OPT =
|
|
Peter Lemenkov |
9cd955 |
endif
|
|
Peter Lemenkov |
9cd955 |
|
|
Peter Lemenkov |
9cd955 |
SSL_CC_RUNTIME_LIBRARY_PATH=@SSL_CC_RUNTIME_LIBRARY_PATH@
|
|
Peter Lemenkov |
9cd955 |
--
|
|
|
f6c950 |
1.7.3.2
|
|
Peter Lemenkov |
9cd955 |
|