2008-02-16 10:39:38 +00:00
|
|
|
Index: pcre-7.6/pcre-config.in
|
2007-07-16 06:51:11 +00:00
|
|
|
===================================================================
|
2008-02-16 10:39:38 +00:00
|
|
|
--- pcre-7.6.orig/pcre-config.in 2008-02-16 11:13:56.000000000 +0100
|
|
|
|
+++ pcre-7.6/pcre-config.in 2008-02-16 11:13:57.000000000 +0100
|
2007-07-16 06:51:11 +00:00
|
|
|
@@ -21,6 +21,10 @@
|
|
|
|
libR=" -Wl,-R@libdir@"
|
2006-07-18 13:39:42 +00:00
|
|
|
;;
|
|
|
|
esac
|
|
|
|
+libS=
|
|
|
|
+if test @libdir@ != /usr/lib ; then
|
|
|
|
+ libS=-L@libdir@
|
|
|
|
+fi
|
|
|
|
|
|
|
|
while test $# -gt 0; do
|
|
|
|
case "$1" in
|
2007-07-16 06:51:11 +00:00
|
|
|
@@ -55,10 +59,10 @@
|
2006-07-18 13:39:42 +00:00
|
|
|
echo $includes
|
|
|
|
;;
|
|
|
|
--libs-posix)
|
|
|
|
- echo -L@libdir@$libR -lpcreposix -lpcre
|
|
|
|
+ echo $libS$libR -lpcreposix -lpcre
|
|
|
|
;;
|
|
|
|
--libs)
|
|
|
|
- echo -L@libdir@$libR -lpcre
|
|
|
|
+ echo $libS$libR -lpcre
|
|
|
|
;;
|
|
|
|
*)
|
|
|
|
echo "${usage}" 1>&2
|