summaryrefslogtreecommitdiff
path: root/ext/libxml
diff options
context:
space:
mode:
Diffstat (limited to 'ext/libxml')
-rw-r--r--ext/libxml/config0.m4 (renamed from ext/libxml/config.m4)7
1 files changed, 4 insertions, 3 deletions
diff --git a/ext/libxml/config.m4 b/ext/libxml/config0.m4
index 1b9e6886c4..ecab8c1d2f 100644
--- a/ext/libxml/config.m4
+++ b/ext/libxml/config0.m4
@@ -12,11 +12,12 @@ fi
if test "$PHP_LIBXML" != "no"; then
+ dnl This extension can not be build as shared
+ ext_shared=no
+
PHP_SETUP_LIBXML(LIBXML_SHARED_LIBADD, [
AC_DEFINE(HAVE_LIBXML,1,[ ])
- PHP_NEW_EXTENSION(libxml, [libxml.c],
- $ext_shared)
- PHP_SUBST(LIBXML_SHARED_LIBADD)
+ PHP_NEW_EXTENSION(libxml, [libxml.c], $ext_shared)
], [
AC_MSG_ERROR([xml2-config not found. Please check your libxml2 installation.])
])