build: fix Windows build targets damaged since commit 550e403f00
authorYang Tse <yangsita@gmail.com>
Wed, 28 Nov 2012 19:51:13 +0000 (20:51 +0100)
committerYang Tse <yangsita@gmail.com>
Wed, 28 Nov 2012 19:51:13 +0000 (20:51 +0100)
tests/libtest/Makefile.am
tests/server/Makefile.am

index c50f68c64f173b8f260d9037bce7416498f75f47..66c183dde2b21921abb3bc01ea15c029c8c0006c 100644 (file)
@@ -61,7 +61,7 @@ DEPENDENCIES = $(top_builddir)/lib/libcurl.la
 
 # Mostly for Windows build targets, when using static libcurl
 if USE_CPPFLAG_CURL_STATICLIB
-AM_CPPFLAGS = -DCURL_STATICLIB
+AM_CPPFLAGS += -DCURL_STATICLIB
 endif
 
 # Makefile.inc provides the source defines (TESTUTIL, SUPPORTFILES,
index 7e6db1ffe18f9c59277f1384e83d654b9d236b62..99cc0d67dd951fe4b738a51497f0ac1a9a80d40e 100644 (file)
@@ -51,7 +51,7 @@ AM_CPPFLAGS = -I$(top_builddir)/include/curl \
 endif
 
 if DOING_NATIVE_WINDOWS
-AM_CPPFLAGS = -DCURL_STATICLIB
+AM_CPPFLAGS += -DCURL_STATICLIB
 endif
 
 # Makefile.inc provides neat definitions