Blame SOURCES/pcre2-10.10-Fix-multilib.patch

9524ad
From 8b6b10229201e5b148979a24e06c640dbbcfbad9 Mon Sep 17 00:00:00 2001
9524ad
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
9524ad
Date: Fri, 20 Feb 2015 14:34:26 +0100
9524ad
Subject: [PATCH] Fix multilib
9524ad
MIME-Version: 1.0
9524ad
Content-Type: text/plain; charset=UTF-8
9524ad
Content-Transfer-Encoding: 8bit
9524ad
9524ad
Do not set RPATH nor add explicit -L path to compiler.
9524ad
9524ad
Signed-off-by: Petr Písař <ppisar@redhat.com>
9524ad
9524ad
diff --git a/pcre2-config.in b/pcre2-config.in
9524ad
index 932160e..dbef5e5 100644
9524ad
--- a/pcre2-config.in
9524ad
+++ b/pcre2-config.in
9524ad
@@ -28,19 +28,7 @@ if test $# -eq 0; then
9524ad
 fi
9524ad
 
9524ad
 libR=
9524ad
-case `uname -s` in
9524ad
-  *SunOS*)
9524ad
-  libR=" -R@libdir@"
9524ad
-  ;;
9524ad
-  *BSD*)
9524ad
-  libR=" -Wl,-R@libdir@"
9524ad
-  ;;
9524ad
-esac
9524ad
-
9524ad
 libS=
9524ad
-if test @libdir@ != /usr/lib ; then
9524ad
-  libS=-L@libdir@
9524ad
-fi
9524ad
 
9524ad
 while test $# -gt 0; do
9524ad
   case "$1" in
9524ad
-- 
9524ad
2.1.0
9524ad