4a63868fe0
git-svn-id: svn://svn.openwrt.org/openwrt/packages@10467 3c298f89-4303-0410-b956-a3cf2f4a3e73
29 lines
693 B
Diff
29 lines
693 B
Diff
Index: pcre-7.6/pcre-config.in
|
|
===================================================================
|
|
--- 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
|
|
@@ -21,6 +21,10 @@
|
|
libR=" -Wl,-R@libdir@"
|
|
;;
|
|
esac
|
|
+libS=
|
|
+if test @libdir@ != /usr/lib ; then
|
|
+ libS=-L@libdir@
|
|
+fi
|
|
|
|
while test $# -gt 0; do
|
|
case "$1" in
|
|
@@ -55,10 +59,10 @@
|
|
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
|