Define XML_STATIC in Expat header instead of Expat projects.
This reverts r74444 and defines XML_STATIC unconditionally in Expat sources themselves as we always use the built-in Expat as a static library, so this solution is simpler and more portable. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -174,8 +174,8 @@ WXTIFF_OBJECTS = \
|
||||
$(OBJS)\wxtiff_tif_write.o \
|
||||
$(OBJS)\wxtiff_tif_zip.o
|
||||
WXEXPAT_CFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) $(GCCFLAGS) \
|
||||
-DHAVE_W32API_H -DNDEBUG -I$(LIBDIRNAME) -DCOMPILED_FROM_DSP -DXML_STATIC \
|
||||
$(CPPFLAGS) $(CFLAGS)
|
||||
-DHAVE_W32API_H -DNDEBUG -I$(LIBDIRNAME) -DCOMPILED_FROM_DSP $(CPPFLAGS) \
|
||||
$(CFLAGS)
|
||||
WXEXPAT_OBJECTS = \
|
||||
$(OBJS)\wxexpat_xmlparse.o \
|
||||
$(OBJS)\wxexpat_xmlrole.o \
|
||||
|
Reference in New Issue
Block a user