mirror of
https://github.com/php/php-src.git
synced 2024-12-02 06:13:40 +08:00
Don't add -DXML_BYTE_ORDER to global CPPFLAGS
This commit is contained in:
parent
c9023bdcae
commit
244ea9f6c8
@ -6,6 +6,8 @@ LTLIBRARY_LIBADD = $(LTLIBRARY_DEPENDENCIES)
|
||||
LTLIBRARY_SHARED_NAME = xml.la
|
||||
LTLIBRARY_SHARED_LIBADD = $(EXPAT_SHARED_LIBADD)
|
||||
|
||||
EXTRA_INCLUDES = $(XML_CPPFLAGS)
|
||||
|
||||
SUBDIRS = $(EXPAT_SUBDIRS)
|
||||
|
||||
include $(top_srcdir)/build/dynlib.mk
|
||||
|
@ -19,9 +19,10 @@ if test "$PHP_XML" != "no"; then
|
||||
if test "$PHP_XML" = "yes"; then
|
||||
AC_DEFINE(HAVE_LIBEXPAT, 1, [ ])
|
||||
AC_DEFINE(HAVE_LIBEXPAT_BUNDLED, 1, [ ])
|
||||
CPPFLAGS="$CPPFLAGS -DXML_BYTE_ORDER=$order"
|
||||
XML_CPPFLAGS=-DXML_BYTE_ORDER=$order
|
||||
EXPAT_INTERNAL_LIBADD=expat/libexpat.la
|
||||
PHP_SUBST(EXPAT_INTERNAL_LIBADD)
|
||||
PHP_SUBST(XML_CPPFLAGS)
|
||||
EXPAT_SUBDIRS=expat
|
||||
PHP_SUBST(EXPAT_SUBDIRS)
|
||||
PHP_SUBST(EXPAT_SHARED_LIBADD)
|
||||
|
Loading…
Reference in New Issue
Block a user