|
Peter Lemenkov |
03eee9 |
From 6a80d8977bd84382e33cd4988910320b541c290d Mon Sep 17 00:00:00 2001
|
|
Peter Lemenkov |
03eee9 |
From: Peter Lemenkov <lemenkov@gmail.com>
|
|
Peter Lemenkov |
03eee9 |
Date: Mon, 19 Apr 2010 13:36:36 +0400
|
|
Peter Lemenkov |
03eee9 |
Subject: [PATCH 4/8] Remove rpath
|
|
Peter Lemenkov |
03eee9 |
|
|
Peter Lemenkov |
03eee9 |
---
|
|
Peter Lemenkov |
03eee9 |
lib/crypto/c_src/Makefile.in | 2 +-
|
|
Peter Lemenkov |
03eee9 |
lib/crypto/priv/Makefile | 2 +-
|
|
Peter Lemenkov |
03eee9 |
lib/ssl/c_src/Makefile.in | 6 +++---
|
|
Peter Lemenkov |
03eee9 |
3 files changed, 5 insertions(+), 5 deletions(-)
|
|
Peter Lemenkov |
03eee9 |
|
|
Peter Lemenkov |
03eee9 |
diff --git a/lib/crypto/c_src/Makefile.in b/lib/crypto/c_src/Makefile.in
|
|
Peter Lemenkov |
03eee9 |
index 70ebeb9..481277f 100644
|
|
Peter Lemenkov |
03eee9 |
--- a/lib/crypto/c_src/Makefile.in
|
|
Peter Lemenkov |
03eee9 |
+++ b/lib/crypto/c_src/Makefile.in
|
|
Peter Lemenkov |
03eee9 |
@@ -79,7 +79,7 @@ endif
|
|
Peter Lemenkov |
03eee9 |
ifeq ($(HOST_OS),)
|
|
Peter Lemenkov |
03eee9 |
HOST_OS := $(shell $(ERL_TOP)/erts/autoconf/config.guess)
|
|
Peter Lemenkov |
03eee9 |
endif
|
|
Peter Lemenkov |
03eee9 |
-LD_R_FLAG=@DED_LD_FLAG_RUNTIME_LIBRARY_PATH@
|
|
Peter Lemenkov |
03eee9 |
+LD_R_FLAG=
|
|
Peter Lemenkov |
03eee9 |
ifeq ($(strip $(LD_R_FLAG)),)
|
|
Peter Lemenkov |
03eee9 |
LD_R_OPT =
|
|
Peter Lemenkov |
03eee9 |
else
|
|
Peter Lemenkov |
03eee9 |
diff --git a/lib/crypto/priv/Makefile b/lib/crypto/priv/Makefile
|
|
Peter Lemenkov |
03eee9 |
index b8acdac..2c2989a 100644
|
|
Peter Lemenkov |
03eee9 |
--- a/lib/crypto/priv/Makefile
|
|
Peter Lemenkov |
03eee9 |
+++ b/lib/crypto/priv/Makefile
|
|
Peter Lemenkov |
03eee9 |
@@ -60,7 +60,7 @@ OBJS = $(OBJDIR)/crypto_drv.o
|
|
Peter Lemenkov |
03eee9 |
# ----------------------------------------------------
|
|
Peter Lemenkov |
03eee9 |
|
|
Peter Lemenkov |
03eee9 |
$(SO_DRIVER): $(OBJS)
|
|
Peter Lemenkov |
03eee9 |
- $(SO_LD) $(SO_LDFLAGS) -L$(SO_SSL_LIBDIR) -Wl,-R$(SO_SSL_LIBDIR) \
|
|
Peter Lemenkov |
03eee9 |
+ $(SO_LD) $(SO_LDFLAGS) -L$(SO_SSL_LIBDIR) \
|
|
Peter Lemenkov |
03eee9 |
-o $@ $^ -lcrypto
|
|
Peter Lemenkov |
03eee9 |
|
|
Peter Lemenkov |
03eee9 |
$(DLL_DRIVER): $(OBJS)
|
|
Peter Lemenkov |
03eee9 |
diff --git a/lib/ssl/c_src/Makefile.in b/lib/ssl/c_src/Makefile.in
|
|
Peter Lemenkov |
03eee9 |
index e6bf3c0..b145aac 100644
|
|
Peter Lemenkov |
03eee9 |
--- a/lib/ssl/c_src/Makefile.in
|
|
Peter Lemenkov |
03eee9 |
+++ b/lib/ssl/c_src/Makefile.in
|
|
Peter Lemenkov |
03eee9 |
@@ -95,7 +95,7 @@ SKIP_BUILDING_BINARIES := true
|
|
Peter Lemenkov |
03eee9 |
endif
|
|
Peter Lemenkov |
03eee9 |
endif
|
|
Peter Lemenkov |
03eee9 |
|
|
Peter Lemenkov |
03eee9 |
-CC_R_FLAG=@CFLAG_RUNTIME_LIBRARY_PATH@
|
|
Peter Lemenkov |
03eee9 |
+CC_R_FLAG=
|
|
Peter Lemenkov |
03eee9 |
ifeq ($(findstring @,$(CC_R_FLAG)),@)
|
|
Peter Lemenkov |
03eee9 |
# Old erts configure used which hasn't replaced @CFLAG_RUNTIME_LIBRARY_PATH@;
|
|
Peter Lemenkov |
03eee9 |
# we try our best here instead...
|
|
Peter Lemenkov |
03eee9 |
@@ -104,9 +104,9 @@ ifeq ($(findstring darwin,$(TARGET)),darwin) # darwin: no flag
|
|
Peter Lemenkov |
03eee9 |
CC_R_FLAG =
|
|
Peter Lemenkov |
03eee9 |
else
|
|
Peter Lemenkov |
03eee9 |
ifeq ($(findstring osf,$(TARGET)),osf) # osf1: -Wl,-rpath,
|
|
Peter Lemenkov |
03eee9 |
-CC_R_FLAG = -Wl,-rpath,
|
|
Peter Lemenkov |
03eee9 |
+CC_R_FLAG =
|
|
Peter Lemenkov |
03eee9 |
else # Default: -Wl,-R
|
|
Peter Lemenkov |
03eee9 |
-CC_R_FLAG = -Wl,-R
|
|
Peter Lemenkov |
03eee9 |
+CC_R_FLAG =
|
|
Peter Lemenkov |
03eee9 |
endif
|
|
Peter Lemenkov |
03eee9 |
endif
|
|
Peter Lemenkov |
03eee9 |
|
|
Peter Lemenkov |
03eee9 |
--
|
|
Peter Lemenkov |
03eee9 |
1.6.6.1
|
|
Peter Lemenkov |
03eee9 |
|