Skip to content

Commit 003142f

Browse files
author
Rob Richards
committed
starting with 2.6.30, standard libxml2 build can be used
1 parent c10c2d1 commit 003142f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/libxml/config.w32

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
ARG_WITH("libxml", "LibXML support", "yes");
55

66
if (PHP_LIBXML == "yes") {
7-
if (CHECK_LIB("libxml2_a.lib;libxml2.lib", "libxml") &&
7+
if (CHECK_LIB("libxml2_a_dll.lib;libxml2_a.lib", "libxml") &&
88
CHECK_LIB("iconv_a.lib;iconv.lib", "libxml") &&
99
CHECK_HEADER_ADD_INCLUDE("libxml/parser.h", "CFLAGS")) {
1010

1111
EXTENSION("libxml", "libxml.c", false /* never shared */);
1212
AC_DEFINE("HAVE_LIBXML", 1, "LibXML support");
13-
ADD_FLAG("CFLAGS_LIBXML", "/D LIBXML_STATIC ");
13+
ADD_FLAG("CFLAGS_LIBXML", "/D LIBXML_STATIC /D LIBXML_STATIC_FOR_DLL ");
1414
if (!PHP_LIBXML_SHARED) {
1515
ADD_DEF_FILE("ext\\libxml\\php_libxml2.def");
1616
}

0 commit comments

Comments
 (0)