pcre2/pcre2-10.10-multilib.patch
2015-06-18 20:19:06 +00:00

35 lines
849 B
Diff

From 1d5ce3e2e6341b01609aefab20786a8638fee17a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
Date: Tue, 6 Dec 2011 18:44:11 +0100
Subject: [PATCH] Fix multilib
Do not set RPATH nor add explicit -L path to compiler.
---
pcre2-config.in | 12 ------------
1 file changed, 12 deletions(-)
Index: pcre2-10.10/pcre2-config.in
===================================================================
--- pcre2-10.10.orig/pcre2-config.in 2014-10-17 17:07:57.000000000 +0200
+++ pcre2-10.10/pcre2-config.in 2015-06-18 20:56:20.000000000 +0200
@@ -28,19 +28,7 @@ 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