|
Peter Lemenkov |
9cd955 |
From 2e10f728feb56ea96b2832999a8c34f1f19646bc 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
|
|
Peter Lemenkov |
7d6bba |
Subject: [PATCH 2/7] 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
|
|
Peter Lemenkov |
9cd955 |
index 18040a3..b169930 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 |
9cd955 |
index b8acdac..2c2989a 100644
|
|
Peter Lemenkov |
9cd955 |
--- a/lib/crypto/priv/Makefile
|
|
Peter Lemenkov |
9cd955 |
+++ b/lib/crypto/priv/Makefile
|
|
Peter Lemenkov |
9cd955 |
@@ -60,7 +60,7 @@ OBJS = $(OBJDIR)/crypto_drv.o
|
|
Peter Lemenkov |
9cd955 |
# ----------------------------------------------------
|
|
Peter Lemenkov |
9cd955 |
|
|
Peter Lemenkov |
9cd955 |
$(SO_DRIVER): $(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 |
9cd955 |
$(DLL_DRIVER): $(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 |
--
|
|
Peter Lemenkov |
a351b2 |
1.6.6.1
|
|
Peter Lemenkov |
9cd955 |
|