File: fix-runpath.patch

package info (click to toggle)
ncmpcpp 0.9.2-2.3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 3,348 kB
  • sloc: cpp: 23,969; sh: 4,486; makefile: 152; ansic: 43
file content (30 lines) | stat: -rw-r--r-- 1,036 bytes parent folder | download
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
28
29
30
Description: Fix spurious RUNPATH entries in the installed binary
Author: Anton Gladky <gladk@debian.org>
Last-Update: 2026-03-22

Index: ncmpcpp/configure.ac
===================================================================
--- ncmpcpp.orig/configure.ac
+++ ncmpcpp/configure.ac
@@ -139,7 +139,7 @@ LIBS="$LIBS $BOOST_REGEX_LIBS"
 BOOST_THREAD
 AC_SUBST(BOOST_THREAD_LDFLAGS)
 AC_SUBST(BOOST_THREAD_LIBS)
-LDFLAGS+="$LDFLAGS $BOOST_THREAD_LDFLAGS"
+LDFLAGS="$LDFLAGS $BOOST_THREAD_LDFLAGS"
 LIBS="$LIBS $BOOST_THREAD_LIBS"
 
 # icu
Index: ncmpcpp/m4/boost.m4
===================================================================
--- ncmpcpp.orig/m4/boost.m4
+++ ncmpcpp/m4/boost.m4
@@ -494,7 +494,7 @@ dnl generated only once above (before we
           LIBS=$boost_save_LIBS
           ])
         test x"$boost_ldpath" != x &&
-          Boost_lib_LDFLAGS="-L$boost_ldpath $boost_cv_rpath_link_ldflag$boost_ldpath"
+          Boost_lib_LDFLAGS="-L$boost_ldpath"
         Boost_lib_LDPATH="$boost_ldpath"
         break 7
       else