From 8215e37ed5c35d99357c81630ac79f8742e467b9 Mon Sep 17 00:00:00 2001 From: Matthew Vernon Date: Tue, 24 Nov 2015 20:32:18 +0000 Subject: [PATCH] remove unnecessary -L settings (Closes: #805941) 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 | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/pcre2-config.in b/pcre2-config.in index 932160e..7995649 100644 --- a/pcre2-config.in +++ b/pcre2-config.in @@ -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 -- 2.30.2