components/pcre2/patches/05-pcre2-config.in.patch
author Rich Burridge <rich.burridge@oracle.com>
Thu, 13 Apr 2017 13:20:29 -0700
changeset 7864 f11e8d81786a
permissions -rw-r--r--
PSARC 2017/057 pcre2 25783625 Add pcre2 10.23 to Userland because vte 0.47.90 requires it

/usr/lib/ is default library path and thus it shouldn't be in RPATH and RUNPATH.
-L/-R with /usr/lib are not necessary for Solaris. The linker knows better.

This patch should be sent upstream.

--- pcre2-10.23/pcre2-config.in.orig	2017-03-27 11:14:33.662291129 +0000
+++ pcre2-10.23/pcre2-config.in	2017-03-27 11:14:50.429500728 +0000
@@ -29,9 +29,6 @@
 
 libR=
 case `uname -s` in
-  *SunOS*)
-  libR=" -R@libdir@"
-  ;;
   *BSD*)
   libR=" -Wl,-R@libdir@"
   ;;