summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/readline/readline/norpath.patch
blob: 5d71582b702802997cb7d2a41f8a68e25831012f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
This support script ends up hardcoding unnecessary rpaths into the libraries. We
will search $libdir automatically so this is just wastes space. There may be some
cases this is necessary but our use cases aren't one of them.

Upstream-Status: Inappropriate

RP 2012/2/23

Index: readline-6.2/support/shobj-conf
===================================================================
--- readline-6.2.orig/support/shobj-conf	2012-02-23 11:06:37.193179379 +0000
+++ readline-6.2/support/shobj-conf	2012-02-23 11:06:50.049178918 +0000
@@ -114,7 +114,7 @@
 	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)'
 	;;