pkgsrc/devel/pcre/patches/patch-ab

17 lines
462 B
Text

$NetBSD: patch-ab,v 1.1 2002/12/30 18:08:02 cjep Exp $
--- pcre-config.in.orig Wed Jan 2 15:57:57 2002
+++ pcre-config.in
@@ -45,10 +45,10 @@ while test $# -gt 0; do
echo $includes
;;
--libs-posix)
- echo -L@libdir@ -lpcreposix -lpcre
+ echo -L@libdir@ -Wl,-R@libdir@ -lpcreposix -lpcre
;;
--libs)
- echo -L@libdir@ -lpcre
+ echo -L@libdir@ -Wl,-R@libdir@ -lpcre
;;
*)
echo "${usage}" 1>&2