remove unnecessary -L settings (Closes: #805941)
authorMatthew Vernon <matthew@debian.org>
Tue, 24 Nov 2015 20:32:18 +0000 (20:32 +0000)
committerMatthew Vernon <matthew@debian.org>
Tue, 24 Nov 2015 20:32:18 +0000 (20:32 +0000)
pcre2-config outputs -L/usr/lib/{arch-triplet} on linux and sets and
Rpath on kfreebsd. Neither of these is necessary, and the differences
you get on different architectures means this wasn't multi-arch
friendly. So remove the relevant code.

pcre2-config.in

index 932160ef5288fc9a7c594cac2265ac848a16da9a..799564979d3ccf480a75e1201828c6b082a0e534 100644 (file)
@@ -28,19 +28,8 @@ if test $# -eq 0; then
 fi
 
 libR=
-case `uname -s` in
-  *SunOS*)
-  libR=" -R@libdir@"
-  ;;
-  *BSD*)
-  libR=" -Wl,-R@libdir@"
-  ;;
-esac
 
 libS=
-if test @libdir@ != /usr/lib ; then
-  libS=-L@libdir@
-fi
 
 while test $# -gt 0; do
   case "$1" in