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

@@ -58,7 +58,7 @@ EXTRA_DIST = Makefile.inc
LDADD = $(top_builddir)/lib/libcurlu.la @CURL_LIBS@
DEPENDENCIES = $(top_builddir)/lib/libcurlu.la
CFLAGS += -DUNITTESTS
AM_CPPFLAGS = -DUNITTESTS
# Makefile.inc provides the source defines (TESTUTIL, SUPPORTFILES,
# noinst_PROGRAMS, lib*_SOURCES, and lib*_CFLAGS)