makefile: avoid preprocessor definition usage when linking

This commit is contained in:
Yang Tse
2011-06-01 14:43:25 +02:00
parent a689072f33
commit 685359d4c3
3 changed files with 11 additions and 11 deletions

View File

@@ -124,7 +124,7 @@ libcurl_la_LDFLAGS = $(LINKFLAGS) $(VERSIONINFO)
# do it if debug is enabled
if CURLDEBUG
noinst_LTLIBRARIES = libcurlu.la
libcurlu_la_CFLAGS = -DUNITTESTS
libcurlu_la_CPPFLAGS = $(AM_CPPFLAGS) -DUNITTESTS
libcurlu_la_LDFLAGS = -static $(LINKFLAGS)
endif