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 --- lib/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/Makefile.am b/lib/Makefile.am index 3d3e91c52..d3dc9af91 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -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 -- cgit v1.2.3