From: foobar Date: Thu, 8 Apr 2004 23:54:10 +0000 (+0000) Subject: PHP_ADD_LIBPATH checks that the path is not /usr/lib.. X-Git-Tag: php-4.3.6~8 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8a088529c929884a38f9955368bf233553cdb6eb;p=php PHP_ADD_LIBPATH checks that the path is not /usr/lib.. --- 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