From 685359d4c3881acdb4f11285bd77d56a867e09c9 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Wed, 1 Jun 2011 14:43:25 +0200 Subject: makefile: avoid preprocessor definition usage when linking --- tests/unit/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/unit/Makefile.am') diff --git a/tests/unit/Makefile.am b/tests/unit/Makefile.am index cdd32a5e1..c77a516d5 100644 --- a/tests/unit/Makefile.am +++ b/tests/unit/Makefile.am @@ -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) -- cgit v1.2.3