xmms2/xmms2-0.8-linker-flags.patch

19 lines
504 B
Diff
Raw Normal View History

2024-08-27 21:59:43 +02:00
---
wscript | 3 +++
1 file changed, 3 insertions(+)
Index: xmms2-0.9.3+g52.xa9cd41b/wscript
===================================================================
--- xmms2-0.9.3+g52.xa9cd41b.orig/wscript
+++ xmms2-0.9.3+g52.xa9cd41b/wscript
@@ -554,6 +554,9 @@ int main() { return 0; }
conf.env.DEFINES += ["XMMS_DISABLE_DEPRECATION_WARNINGS"]
+ # Do not link against unused libraries (make dpkg-shlibdeps happy).
+ conf.env.LINKFLAGS += ['-Wl,--as-needed']
+
return True
####