summaryrefslogtreecommitdiff
path: root/tests/psql
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2012-09-02 10:53:53 +0200
committerAndreas Baumann <abaumann@yahoo.com>2012-09-02 10:53:53 +0200
commitda6dc57663d8934f84d6328c9d5d15b06962991e (patch)
tree569d883d64d8216d7a729090a78e4f8a645399be /tests/psql
parentfd4c368d52fdbba5a0f378ef57437aeedf6ff550 (diff)
downloadcrawler-da6dc57663d8934f84d6328c9d5d15b06962991e.tar.gz
crawler-da6dc57663d8934f84d6328c9d5d15b06962991e.tar.bz2
fixed pkg-config usage for pqxx tests
Diffstat (limited to 'tests/psql')
-rw-r--r--tests/psql/GNUmakefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/psql/GNUmakefile b/tests/psql/GNUmakefile
index 55d6087..8c0aab2 100644
--- a/tests/psql/GNUmakefile
+++ b/tests/psql/GNUmakefile
@@ -5,10 +5,11 @@ SUBDIRS =
INCLUDE_DIRS = \
-I. -I$(TOPDIR) $(shell pkg-config --cflags libpqxx)
-INCLUDE_LDFLAGS =
+INCLUDE_LDFLAGS = \
+ $(shell pkg-config --libs-only-L libpqxx)
INCLUDE_LIBS = \
- -lpqxx -lpq
+ $(shell pkg-config --libs-only-l libpqxx)
TEST_CPP_BINS = \
test1$(EXE) \