Skip to content

Commit 5e1ac55

Browse files
committed
make simplexml headers available to the outta world
1 parent 2943357 commit 5e1ac55

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

ext/simplexml/config.m4

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ if test "$PHP_SIMPLEXML" != "no"; then
1818
PHP_SETUP_LIBXML(SIMPLEXML_SHARED_LIBADD, [
1919
AC_DEFINE(HAVE_SIMPLEXML,1,[ ])
2020
PHP_NEW_EXTENSION(simplexml, simplexml.c sxe.c, $ext_shared)
21+
PHP_INSTALL_HEADERS([ext/simplexml/php_simplexml.h ext/simplexml/php_simplexml_exports.h])
2122
PHP_SUBST(SIMPLEXML_SHARED_LIBADD)
2223
], [
2324
AC_MSG_ERROR([xml2-config not found. Please check your libxml2 installation.])

ext/simplexml/config.w32

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ if (PHP_SIMPLEXML == "yes") {
1616
MESSAGE("\tSPL support in simplexml disabled");
1717
}
1818
ADD_FLAG("CFLAGS_SIMPLEXML", "/D PHP_SIMPLEXML_EXPORTS ");
19+
PHP_INSTALL_HEADERS("ext/simplexml/", "php_simplexml.h php_simplexml_exports.h");
1920
} else {
2021
PHP_SIMPLEXML = "no";
2122
WARNING("simplexml not enabled; libraries and headers not found");

0 commit comments

Comments
 (0)