]> git.meshlink.io Git - catta/commitdiff
Pass AM_CFLAGS instead of CFLAGS when build the libdns_sd test tool
authorLennart Poettering <lennart@poettering.net>
Sat, 6 Jan 2007 16:45:34 +0000 (16:45 +0000)
committerLennart Poettering <lennart@poettering.net>
Sat, 6 Jan 2007 16:45:34 +0000 (16:45 +0000)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1373 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

avahi-compat-libdns_sd/Makefile.am

index f8221353e1473297e811f6d3774fc06f312f54ac..a5cb202af8b47e963775282bbf85b1a1de0f3e4c 100644 (file)
@@ -66,8 +66,8 @@ null_test_LDADD = $(AM_LDADD) $(PTHREAD_LIBS) $(PTHREAD_CFLAGS) ../avahi-common/
 # licensing restrictions.
 
 libdns_sd-test: libdns_sd-test.c libdns_sd.la
-       $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) $(PTHREAD_CFLAGS) -o libdns_sd-test.o -c libdns_sd-test.c 
-       $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(PTHREAD_CFLAGS) -o libdns_sd-test libdns_sd-test.o $(PTHREAD_LIBS) ../avahi-common/libavahi-common.la libdns_sd.la 
+       $(LIBTOOL) --mode=compile $(CC) $(AM_CFLAGS) $(PTHREAD_CFLAGS) -o libdns_sd-test.o -c libdns_sd-test.c 
+       $(LIBTOOL) --mode=link $(CC) $(AM_CFLAGS) $(PTHREAD_CFLAGS) -o libdns_sd-test libdns_sd-test.o $(PTHREAD_LIBS) ../avahi-common/libavahi-common.la libdns_sd.la 
 
 CLEANFILES = libdns_sd-test.o libdns_sd-test