mirror of
https://github.com/php/php-src.git
synced 2026-03-26 09:12:14 +01:00
fixed a link problem of shared extension module in ext/xslt.
This commit is contained in:
@@ -36,7 +36,7 @@ if test "$PHP_SABLOT" != "no"; then
|
||||
for i in $PHP_EXPAT_DIR $SABLOT_DIR; do
|
||||
if test -f $i/lib/libexpat.a -o -f $i/lib/libexpat.s?; then
|
||||
AC_DEFINE(HAVE_LIBEXPAT2,1,[ ])
|
||||
PHP_ADD_LIBRARY_WITH_PATH(expat, $i/lib)
|
||||
PHP_ADD_LIBRARY_WITH_PATH(expat, $i/lib, SABLOT_SHARED_LIBADD)
|
||||
PHP_ADD_INCLUDE($i/include)
|
||||
AC_CHECK_LIB(sablot, SablotSetEncoding, AC_DEFINE(HAVE_SABLOT_SET_ENCODING,1,[ ]))
|
||||
testval=yes
|
||||
|
||||
@@ -58,7 +58,7 @@ if test "$PHP_XSLT" != "no"; then
|
||||
if test -f $i/lib/libexpat.a -o -f $i/lib/libexpat.so; then
|
||||
AC_DEFINE(HAVE_LIBEXPAT2, 1, [ ])
|
||||
PHP_ADD_INCLUDE($i/include)
|
||||
PHP_ADD_LIBRARY_WITH_PATH(expat, $i/lib)
|
||||
PHP_ADD_LIBRARY_WITH_PATH(expat, $i/lib, XSLT_SHARED_LIBADD)
|
||||
found_expat=yes
|
||||
fi
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user