From: Marko Kreen Date: Mon, 7 Jan 2008 10:01:16 +0000 (+0000) Subject: use autoconfed settings for test code X-Git-Tag: pgbouncer_1_2_rc2~85 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2c9d740172c2a4cf2cc73036026925af03c703c1;p=pgbouncer use autoconfed settings for test code --- diff --git a/test/Makefile b/test/Makefile index 4deae03..03d4480 100644 --- a/test/Makefile +++ b/test/Makefile @@ -5,12 +5,13 @@ PGLIB = -L$(shell pg_config --libdir) include ../config.mak CPPFLAGS += -I../include $(PGINC) -LDFLAGS += $(PGLIB) -lpq -levent +LDFLAGS += $(PGLIB) +LIBS += -lpq all: asynctest asynctest: asynctest.c - $(CC) -o $@ $< $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) + $(CC) -o $@ $< $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) $(LIBS) clean: rm -f asynctest