add linksys nvram fixup to S05nvram (fixes #32)
[openwrt.git] / openwrt / package / pcre / patches / 750-pcre_config_cross.patch
1 diff -ruN pcre-5.0-old/pcre-config.in pcre-5.0-new/pcre-config.in
2 --- pcre-5.0-old/pcre-config.in 2004-09-13 16:20:00.000000000 +0200
3 +++ pcre-5.0-new/pcre-config.in 2005-09-04 16:34:39.000000000 +0200
4 @@ -18,6 +18,10 @@
5 libR=" -R@libdir@"
6 ;;
7 esac
8 +libS=
9 +if test @libdir@ != /usr/lib ; then
10 + libS=-L@libdir@
11 +fi
12
13 while test $# -gt 0; do
14 case "$1" in
15 @@ -52,10 +56,10 @@
16 echo $includes
17 ;;
18 --libs-posix)
19 - echo -L@libdir@$libR -lpcreposix -lpcre
20 + echo $libS$libR -lpcreposix -lpcre
21 ;;
22 --libs)
23 - echo -L@libdir@$libR -lpcre
24 + echo $libS$libR -lpcre
25 ;;
26 *)
27 echo "${usage}" 1>&2
This page took 0.04389 seconds and 5 git commands to generate.