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 c50f68c..66c183d 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 7e6db1f..99cc0d6 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