File: no_multiarch_rpath

package info (click to toggle)
ncbi-blast%2B 2.16.0%2Bds-7
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 143,172 kB
  • sloc: cpp: 985,828; ansic: 303,887; sh: 14,536; xml: 5,050; javascript: 3,442; python: 2,958; perl: 2,612; java: 2,284; makefile: 1,453; awk: 162; pascal: 72
file content (32 lines) | stat: -rw-r--r-- 1,119 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
31
32
Subject: avoid redundant rpath entries on multiarch systems

 * src/build-system/configure(.ac): when ensuring that executables
   will be able to find libstdc++, don't add rpath entries that files
   under /etc/ld.so.conf.d already specify, even if they don't resemble
   traditional single-architecture or biarch locations.

Debian-Bug: 633567.
Author: Aaron M. Ucko <ucko@debian.org>
Last-Update: 2011-08-28
--- a/c++/src/build-system/configure
+++ b/c++/src/build-system/configure
@@ -10912,7 +10912,7 @@ case "$compiler:$compiler_version:$with_
                break
                ;;
             /* )
-               found=true
+               fgrep -qsx $abs_dir /etc/ld.so.conf.d/*  ||  found=true
                break
                ;;
         esac
--- a/c++/src/build-system/configure.ac
+++ b/c++/src/build-system/configure.ac
@@ -2491,7 +2491,7 @@ case "$compiler:$compiler_version:$with_
                break
                ;;
             /* )
-               found=true
+               fgrep -qsx $abs_dir /etc/ld.so.conf.d/*  ||  found=true
                break
                ;;
         esac