summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-05-01 19:43:31 +0200
committerChristian Grothoff <christian@grothoff.org>2021-05-01 19:43:31 +0200
commit17433165b84c735036f245c09e053890f0b0ebb5 (patch)
tree564d0d38fd73f95d6de71416bd3b4a323fc09d84
parentee2560b5d7813517f94380d468b2ad09b4cd9d24 (diff)
downloadanastasis-17433165b84c735036f245c09e053890f0b0ebb5.tar.gz
anastasis-17433165b84c735036f245c09e053890f0b0ebb5.tar.bz2
anastasis-17433165b84c735036f245c09e053890f0b0ebb5.zip
add missing XLIB linkage for coverage
-rw-r--r--src/authorization/Makefile.am3
-rw-r--r--src/backend/Makefile.am3
-rw-r--r--src/stasis/Makefile.am12
-rw-r--r--src/testing/Makefile.am6
-rw-r--r--src/util/Makefile.am12
5 files changed, 23 insertions, 13 deletions
diff --git a/src/authorization/Makefile.am b/src/authorization/Makefile.am
index dffecbb..f4bcc94 100644
--- a/src/authorization/Makefile.am
+++ b/src/authorization/Makefile.am
@@ -27,7 +27,8 @@ libanastasisauthorization_la_LIBADD = \
$(LTLIBINTL)
libanastasisauthorization_la_LDFLAGS = \
-talerutil \
- -lgnunetutil
+ -lgnunetutil \
+ $(XLIB)
plugin_LTLIBRARIES = \
libanastasis_plugin_authorization_email.la \
diff --git a/src/backend/Makefile.am b/src/backend/Makefile.am
index 966747e..8dd57fd 100644
--- a/src/backend/Makefile.am
+++ b/src/backend/Makefile.am
@@ -38,7 +38,8 @@ anastasis_httpd_LDADD = \
-lgnunetrest \
-lgnunetjson \
-lgnunetutil \
- -luuid
+ -luuid \
+ $(XLIB)
EXTRA_DIST = \
$(pkgcfg_DATA)
diff --git a/src/stasis/Makefile.am b/src/stasis/Makefile.am
index 96f6330..404958d 100644
--- a/src/stasis/Makefile.am
+++ b/src/stasis/Makefile.am
@@ -37,7 +37,8 @@ anastasis_dbinit_LDADD = \
$(top_builddir)/src/util/libanastasisutil.la \
-lgnunetutil \
-ltalerutil \
- -ltalerpq
+ -ltalerpq \
+ $(XLIB)
lib_LTLIBRARIES = \
@@ -48,7 +49,8 @@ libanastasisdb_la_SOURCES = \
libanastasisdb_la_LIBADD = \
-lgnunetpq \
-lpq \
- -lgnunetutil
+ -lgnunetutil \
+ $(XLIB)
libanastasisdb_la_LDFLAGS = \
$(POSTGRESQL_LDFLAGS) \
-version-info 2:0:0 \
@@ -63,7 +65,8 @@ libanastasis_plugin_db_postgres_la_LDFLAGS = \
-lgnunetpq \
-lpq \
-ltalerpq \
- -lgnunetutil $(XLIB)
+ -lgnunetutil \
+ $(XLIB)
check_PROGRAMS = \
$(TESTS)
@@ -77,7 +80,8 @@ test_anastasis_db_postgres_LDFLAGS = \
-lgnunetpq \
-ltalerutil \
-ltalerpq \
- -luuid
+ -luuid \
+ $(XLIB)
AM_TESTS_ENVIRONMENT=export ANASTASIS_PREFIX=$${ANASTASIS_PREFIX:-@libdir@};export PATH=$${ANASTASIS_PREFIX:-@prefix@}/bin:$$PATH;unset XDG_DATA_HOME;unset XDG_CONFIG_HOME;
TESTS = \
diff --git a/src/testing/Makefile.am b/src/testing/Makefile.am
index 576499d..8fc710b 100644
--- a/src/testing/Makefile.am
+++ b/src/testing/Makefile.am
@@ -68,7 +68,8 @@ test_anastasisrest_api_LDADD = \
libanastasistesting.la \
-ltalermerchanttesting \
-ltalertesting \
- -lgnunetutil
+ -lgnunetutil \
+ $(XLIB)
test_anastasis_SOURCES = \
test_anastasis.c
@@ -77,7 +78,8 @@ test_anastasis_LDADD = \
-ltalermerchanttesting \
-ltalertesting \
-ltalerexchange \
- -lgnunetutil
+ -lgnunetutil \
+ $(XLIB)
EXTRA_DIST = \
test_anastasis_api.conf \
diff --git a/src/util/Makefile.am b/src/util/Makefile.am
index 84a2f36..36ee196 100644
--- a/src/util/Makefile.am
+++ b/src/util/Makefile.am
@@ -37,8 +37,8 @@ libanastasisutil_la_LIBADD = \
-lgnunetutil \
$(LIBGCRYPT_LIBS) \
-ljansson \
- -ltalerutil \
- $(XLIB)
+ -ltalerutil \
+ $(XLIB)
libanastasisutil_la_LDFLAGS = \
-version-info 0:0:0 \
-export-dynamic -no-undefined
@@ -54,12 +54,14 @@ test_anastasis_child_management_SOURCES = \
test_anastasis_child_management.c
test_anastasis_child_management_LDADD = \
-lgnunetutil \
- -ltalerutil \
- libanastasisutil.la
+ -ltalerutil \
+ libanastasisutil.la \
+ $(XLIB)
test_anastasis_crypto_SOURCES = \
test_anastasis_crypto.c
test_anastasis_crypto_LDADD = \
-lgnunetutil \
-ltalerutil \
- libanastasisutil.la
+ libanastasisutil.la \
+ $(XLIB)