File: rpath.patch

package info (click to toggle)
xmms2 0.8%2Bdfsg-29
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 14,216 kB
  • sloc: ansic: 63,803; python: 15,537; cpp: 5,718; xml: 1,479; perl: 338; ruby: 243; makefile: 79; sh: 59; asm: 7
file content (20 lines) | stat: -rw-r--r-- 843 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: Fix binary-or-shlib-defines-rpath Lintian warning.
Author: Benjamin Drung <bdrung@ubuntu.com>
Forwarded: No

--- a/src/plugins/sid/wscript
+++ b/src/plugins/sid/wscript
@@ -19,13 +19,6 @@
     builders = conf.check_cfg(package="libsidplay2",
             args="--variable=builders").strip()
 
-    # It looks funny that this is LIBPATH_sidplay but it is correct
-    # since we explcitly set the path to builders for resid it will
-    # find resid in the list even though we still need to -rpath it.
-    if not realpath(builders) in [realpath(i) for i in conf.env.LIBPATH_sidplay]:
-        conf.env.LINKFLAGS_resid = ["-Wl,-rpath=%s" % builders]
-        conf.env.LIBPATH_resid = [builders]
-
     conf.check_cxx(lib="resid-builder", header_name="sidplay/builders/resid.h",
             uselib_store="resid", uselib="resid")