File tree 2 files changed +2
-0
lines changed
2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ if test "$PHP_SIMPLEXML" != "no"; then
18
18
PHP_SETUP_LIBXML(SIMPLEXML_SHARED_LIBADD, [
19
19
AC_DEFINE ( HAVE_SIMPLEXML ,1 ,[ ] )
20
20
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] )
21
22
PHP_SUBST(SIMPLEXML_SHARED_LIBADD)
22
23
] , [
23
24
AC_MSG_ERROR ( [ xml2-config not found. Please check your libxml2 installation.] )
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ if (PHP_SIMPLEXML == "yes") {
16
16
MESSAGE ( "\tSPL support in simplexml disabled" ) ;
17
17
}
18
18
ADD_FLAG ( "CFLAGS_SIMPLEXML" , "/D PHP_SIMPLEXML_EXPORTS " ) ;
19
+ PHP_INSTALL_HEADERS ( "ext/simplexml/" , "php_simplexml.h php_simplexml_exports.h" ) ;
19
20
} else {
20
21
PHP_SIMPLEXML = "no" ;
21
22
WARNING ( "simplexml not enabled; libraries and headers not found" ) ;
You can’t perform that action at this time.
0 commit comments