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