mirror of
https://github.com/php/php-src.git
synced 2024-11-25 02:44:58 +08:00
fix build with older postgresql
This commit is contained in:
parent
d8eece2b43
commit
813bd67320
@ -44,7 +44,7 @@ if test "$PHP_PGSQL" != "no"; then
|
||||
fi
|
||||
done
|
||||
|
||||
for j in $PHP_LIBDIR $PHP_LIBDIR/pgsql $PHP_LIBDIR/postgres $PHP_LIBDIR/postgresql ""; do
|
||||
for j in lib lib/pgsql lib/postgres lib/postgresql ""; do
|
||||
if test -f "$i/$j/libpq.so" || test -f "$i/$j/libpq.a"; then
|
||||
PGSQL_LIBDIR=$i/$j
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user