Skip to content

Commit 30ca718

Browse files
author
Rui Hirokawa
committed
fixed a link problem of shared extension module in ext/xslt.
1 parent 4aa6ae4 commit 30ca718

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ext/sablot/config.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ if test "$PHP_SABLOT" != "no"; then
3636
for i in $PHP_EXPAT_DIR $SABLOT_DIR; do
3737
if test -f $i/lib/libexpat.a -o -f $i/lib/libexpat.s?; then
3838
AC_DEFINE(HAVE_LIBEXPAT2,1,[ ])
39-
PHP_ADD_LIBRARY_WITH_PATH(expat, $i/lib)
39+
PHP_ADD_LIBRARY_WITH_PATH(expat, $i/lib, SABLOT_SHARED_LIBADD)
4040
PHP_ADD_INCLUDE($i/include)
4141
AC_CHECK_LIB(sablot, SablotSetEncoding, AC_DEFINE(HAVE_SABLOT_SET_ENCODING,1,[ ]))
4242
testval=yes

ext/xslt/config.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ if test "$PHP_XSLT" != "no"; then
5858
if test -f $i/lib/libexpat.a -o -f $i/lib/libexpat.so; then
5959
AC_DEFINE(HAVE_LIBEXPAT2, 1, [ ])
6060
PHP_ADD_INCLUDE($i/include)
61-
PHP_ADD_LIBRARY_WITH_PATH(expat, $i/lib)
61+
PHP_ADD_LIBRARY_WITH_PATH(expat, $i/lib, XSLT_SHARED_LIBADD)
6262
found_expat=yes
6363
fi
6464
done

0 commit comments

Comments
 (0)