aboutsummaryrefslogtreecommitdiff
path: root/src/pq
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-11-12 22:25:59 +0100
committerChristian Grothoff <christian@grothoff.org>2020-11-12 22:25:59 +0100
commit45d621f5ff16c8c6a559f9e865704e8090885799 (patch)
treeda1fa1269f2202b6dbd68865a72b12941f7acbe2 /src/pq
parent2ad4cee183dde4d40171dc9222fa754bbf341cae (diff)
add -lgcov flag for coverage analysis
Diffstat (limited to 'src/pq')
-rw-r--r--src/pq/Makefile.am14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/pq/Makefile.am b/src/pq/Makefile.am
index 2ade01e0e..3082e0b46 100644
--- a/src/pq/Makefile.am
+++ b/src/pq/Makefile.am
@@ -12,23 +12,22 @@ lib_LTLIBRARIES = \
libtalerpq_la_SOURCES = \
pq_query_helper.c \
pq_result_helper.c
-
libtalerpq_la_LIBADD = \
$(top_builddir)/src/util/libtalerutil.la \
-lgnunetutil -ljansson \
- -lpq $(XLIB)
-
+ -lpq \
+ $(XLIB)
libtalerpq_la_LDFLAGS = \
$(POSTGRESQL_LDFLAGS) \
-version-info 0:0:0 \
-export-dynamic -no-undefined
-TESTS = \
- test_pq
-
check_PROGRAMS= \
test_pq
+TESTS = \
+ $(check_PROGRAMS)
+
test_pq_SOURCES = \
test_pq.c
test_pq_LDADD = \
@@ -37,4 +36,5 @@ test_pq_LDADD = \
-lgnunetpq \
-lgnunetutil \
-ljansson \
- -lpq $(XLIB)
+ -lpq \
+ $(XLIB)