summaryrefslogtreecommitdiff
path: root/devel/pcre/patches/patch-ab
blob: d2e8c0bcd521a3456b4140050627befec509d1c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$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