summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2009-06-06 19:13:42 (GMT)
committerRemko Tronçon <git@el-tramo.be>2009-06-06 19:13:42 (GMT)
commit7a7d7ef113c2e10d922fb613e24cb17f574f12e6 (patch)
tree2cc6df6e5e27d2a6049b51d5be9028efb9287bec
parentcbbd005dba6f4b105a74f81c44654bb957dd044e (diff)
downloadswift-contrib-7a7d7ef113c2e10d922fb613e24cb17f574f12e6.zip
swift-contrib-7a7d7ef113c2e10d922fb613e24cb17f574f12e6.tar.bz2
Make sure bundled expat is built statically on Windows.
-rw-r--r--3rdParty/Expat/Makefile.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/3rdParty/Expat/Makefile.inc b/3rdParty/Expat/Makefile.inc
index afbebe9..c143263 100644
--- a/3rdParty/Expat/Makefile.inc
+++ b/3rdParty/Expat/Makefile.inc
@@ -16,6 +16,6 @@ $(EXPAT_TARGET): $(EXPAT_OBJECTS)
$(QUIET_AR)$(AR) $(ARFLAGS) $@ $(EXPAT_OBJECTS)
ifeq ($(USE_BUNDLED_EXPAT),yes)
-CPPFLAGS += -isystem 3rdParty/Expat -isystem 3rdParty/Expat/src -DHAVE_EXPAT_CONFIG_H
+CPPFLAGS += -isystem 3rdParty/Expat -isystem 3rdParty/Expat/src -DHAVE_EXPAT_CONFIG_H -DXML_STATIC
BUNDLED_LIBS += $(EXPAT_TARGET)
endif