summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRui Hirokawa <hirokawa@php.net>2001-07-02 01:55:43 +0000
committerRui Hirokawa <hirokawa@php.net>2001-07-02 01:55:43 +0000
commit30ca718935fa61bc110ca7eff14cbba8bcf4bb55 (patch)
treedcabea4930c054a5399d87648c21ce1f3a35635c
parent4aa6ae493ef8a9aa3cb047ec3db2459de546afd2 (diff)
downloadphp-git-30ca718935fa61bc110ca7eff14cbba8bcf4bb55.tar.gz
fixed a link problem of shared extension module in ext/xslt.
-rw-r--r--ext/sablot/config.m42
-rw-r--r--ext/xslt/config.m42
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/sablot/config.m4 b/ext/sablot/config.m4
index 1710e13d5d..52a4a19591 100644
--- a/ext/sablot/config.m4
+++ b/ext/sablot/config.m4
@@ -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
diff --git a/ext/xslt/config.m4 b/ext/xslt/config.m4
index f2dbf5a375..e29391d33a 100644
--- a/ext/xslt/config.m4
+++ b/ext/xslt/config.m4
@@ -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