|
Peter Lemenkov |
f69201 |
From 03e261ee3152f3c45b23886e143c28bf2953f78d Mon Sep 17 00:00:00 2001
|
|
Peter Lemenkov |
f69201 |
From: Peter Lemenkov <lemenkov@gmail.com>
|
|
Peter Lemenkov |
f69201 |
Date: Mon, 19 Apr 2010 13:36:36 +0400
|
|
Peter Lemenkov |
f69201 |
Subject: [PATCH 4/7] Remove rpath
|
|
Peter Lemenkov |
f69201 |
|
|
Peter Lemenkov |
f69201 |
---
|
|
Peter Lemenkov |
f69201 |
lib/crypto/c_src/Makefile.in | 2 +-
|
|
Peter Lemenkov |
f69201 |
lib/crypto/priv/Makefile | 2 +-
|
|
Peter Lemenkov |
f69201 |
lib/ssl/c_src/Makefile.in | 6 +++---
|
|
Peter Lemenkov |
f69201 |
3 files changed, 5 insertions(+), 5 deletions(-)
|
|
Peter Lemenkov |
f69201 |
|
|
Peter Lemenkov |
f69201 |
diff --git a/lib/crypto/c_src/Makefile.in b/lib/crypto/c_src/Makefile.in
|
|
Peter Lemenkov |
f69201 |
index fb9ebae..eddcd0a 100644
|
|
Peter Lemenkov |
f69201 |
--- a/lib/crypto/c_src/Makefile.in
|
|
Peter Lemenkov |
f69201 |
+++ b/lib/crypto/c_src/Makefile.in
|
|
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 |
f69201 |
diff --git a/lib/crypto/priv/Makefile b/lib/crypto/priv/Makefile
|
|
Peter Lemenkov |
f69201 |
index b8acdac..2c2989a 100644
|
|
Peter Lemenkov |
f69201 |
--- a/lib/crypto/priv/Makefile
|
|
Peter Lemenkov |
f69201 |
+++ b/lib/crypto/priv/Makefile
|
|
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 |
f69201 |
diff --git a/lib/ssl/c_src/Makefile.in b/lib/ssl/c_src/Makefile.in
|
|
Peter Lemenkov |
f69201 |
index 57b2929..6fc1140 100644
|
|
Peter Lemenkov |
f69201 |
--- a/lib/ssl/c_src/Makefile.in
|
|
Peter Lemenkov |
f69201 |
+++ b/lib/ssl/c_src/Makefile.in
|
|
Peter Lemenkov |
f69201 |
@@ -104,7 +104,7 @@ else
|
|
Peter Lemenkov |
f69201 |
SSL_MAKEFILE =
|
|
Peter Lemenkov |
f69201 |
endif
|
|
Peter Lemenkov |
f69201 |
|
|
Peter Lemenkov |
f69201 |
-CC_R_FLAG=@CFLAG_RUNTIME_LIBRARY_PATH@
|
|
Peter Lemenkov |
f69201 |
+CC_R_FLAG=
|
|
Peter Lemenkov |
f69201 |
ifeq ($(findstring @,$(CC_R_FLAG)),@)
|
|
Peter Lemenkov |
f69201 |
# Old erts configure used which hasn't replaced @CFLAG_RUNTIME_LIBRARY_PATH@;
|
|
Peter Lemenkov |
f69201 |
# we try our best here instead...
|
|
Peter Lemenkov |
f69201 |
@@ -113,9 +113,9 @@ ifeq ($(findstring darwin,$(TARGET)),darwin) # darwin: no flag
|
|
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
|
|
Peter Lemenkov |
f69201 |
--
|
|
Peter Lemenkov |
f69201 |
1.6.6.1
|
|
Peter Lemenkov |
f69201 |
|