summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2004-04-08 23:54:10 +0000
committerfoobar <sniper@php.net>2004-04-08 23:54:10 +0000
commit8a088529c929884a38f9955368bf233553cdb6eb (patch)
treedc001c42c1cdf31bf0d9ee4c2655bb325a69fb10
parent908f37b08bcc1a1ba89d6ce94cfd1d7e5787bdd3 (diff)
downloadphp-git-8a088529c929884a38f9955368bf233553cdb6eb.tar.gz
PHP_ADD_LIBPATH checks that the path is not /usr/lib..
-rw-r--r--ext/yaz/config.m46
1 files changed, 2 insertions, 4 deletions
diff --git a/ext/yaz/config.m4 b/ext/yaz/config.m4
index c660cdf351..cdb91fce7d 100644
--- a/ext/yaz/config.m4
+++ b/ext/yaz/config.m4
@@ -37,14 +37,12 @@ if test "$PHP_YAZ" != "no"; then
case $c in
-L*)
dir=`echo $c|cut -c 3-|sed 's%/\.libs%%g'`
- if test "$dir" != "/usr/lib"; then
- PHP_ADD_LIBPATH($dir,YAZ_SHARED_LIBADD)
- fi
+ PHP_ADD_LIBPATH($dir,YAZ_SHARED_LIBADD)
;;
-lyaz*)
;;
*)
- PHP_EVAL_LIBLINE($c, YAZ_SHARED_LIBADD)
+ PHP_EVAL_LIBLINE($c, YAZ_SHARED_LIBADD)
;;
esac
done