summaryrefslogtreecommitdiffstats
path: root/patches/readline-7.0/0003-rl-no-rpath.patch
blob: 5a97e715ecb5e7144658260dcd27158bb040d63d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From: "doko@debian.org" <doko@debian.org>
Date: Sun, 24 Jan 2010 00:31:36 +0100
Subject: [PATCH] rl-no-rpath.

rl-no-rpath.dpatch by  <doko@debian.org>

from:
http://ftp.de.debian.org/debian/pool/main/r/readline6/readline6_6.1-1.diff.gz

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
---
 support/shobj-conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/support/shobj-conf b/support/shobj-conf
index 1f64433dea83..ce435d7db254 100644
--- a/support/shobj-conf
+++ b/support/shobj-conf
@@ -128,7 +128,7 @@ linux*-*|gnu*-*|k*bsd*-gnu-*|freebsd*-gentoo)
 	SHOBJ_LD='${CC}'
 	SHOBJ_LDFLAGS='-shared -Wl,-soname,$@'
 
-	SHLIB_XLDFLAGS='-Wl,-rpath,$(libdir) -Wl,-soname,`basename $@ $(SHLIB_MINOR)`'
+	SHLIB_XLDFLAGS='-Wl,-soname,`basename $@ $(SHLIB_MINOR)`'
 	SHLIB_LIBVERSION='$(SHLIB_LIBSUFF).$(SHLIB_MAJOR)$(SHLIB_MINOR)'
 	;;