Skip to content

Commit 71c520c

Browse files
committed
Fix xmlreader extension phpize build
When building ext/xmlreader with phpize, also ext/dom/dom_ce.h needs to be installed by dom extension as it is used in the ext/xmlreader/php_xmlreader.c. cd ext/xmlreader phpize ./configure make Closes GH-14978
1 parent eb18192 commit 71c520c

File tree

3 files changed

+15
-2
lines changed

3 files changed

+15
-2
lines changed

NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ PHP NEWS
22
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
33
?? ??? ????, PHP 8.4.0alpha3
44

5+
- Core:
6+
. Fix GH-14978 (The xmlreader extension phpize build). (Peter Kokot)
7+
58
- Standard:
69
. Fix references in request_parse_body() options array. (nielsdos)
710

ext/dom/config.m4

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,12 @@ if test "$PHP_DOM" != "no"; then
5858
$ext_builddir/$LEXBOR_DIR/tag
5959
])])
6060
PHP_SUBST([DOM_SHARED_LIBADD])
61-
PHP_INSTALL_HEADERS([ext/dom], [xml_common.h xpath_callbacks.h namespace_compat.h])
61+
PHP_INSTALL_HEADERS([ext/dom], [m4_normalize([
62+
dom_ce.h
63+
namespace_compat.h
64+
xml_common.h
65+
xpath_callbacks.h
66+
])])
6267
PHP_ADD_EXTENSION_DEP(dom, libxml)
6368
])
6469
fi

ext/dom/config.w32

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,12 @@ if (PHP_DOM == "yes") {
4747
WARNING("dom support can't be enabled, libxml is not found")
4848
}
4949
}
50-
PHP_INSTALL_HEADERS("ext/dom", "xml_common.h xpath_callbacks.h namespace_compat.h");
50+
PHP_INSTALL_HEADERS("ext/dom",
51+
"dom_ce.h " +
52+
"namespace_compat.h " +
53+
"xml_common.h " +
54+
"xpath_callbacks.h "
55+
);
5156
} else {
5257
WARNING("dom support can't be enabled, libxml is not enabled")
5358
PHP_DOM = "no"

0 commit comments

Comments
 (0)