$NetBSD: patch-aa,v 1.12 2007/06/17 17:05:08 joerg Exp $ --- pcre-config.in.orig 2007-06-17 16:31:18.000000000 +0000 +++ pcre-config.in @@ -12,15 +12,7 @@ if test $# -eq 0; then exit 1 fi -libR= -case `uname -s` in - *SunOS*) - libR=" -R@libdir@" - ;; - *BSD*) - libR=" -Wl,-R@libdir@" - ;; -esac +libR=" @COMPILER_RPATH_FLAG@@libdir@" while test $# -gt 0; do case "$1" in