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

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