aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-12-31 22:13:12 +0100
committerChristian Grothoff <christian@grothoff.org>2020-12-31 22:13:12 +0100
commit0bffea1f67067f56638a36d0b7db30af09d929ac (patch)
treeee576133848fcf427cd8ee5c45a659961a4686f5
parent3bd6b543a170ffcb0da9b14eddf533c0a729b965 (diff)
add missing linker options
-rw-r--r--src/auditor/Makefile.am4
-rw-r--r--src/auditordb/Makefile.am1
-rw-r--r--src/bank-lib/Makefile.am3
-rw-r--r--src/curl/Makefile.am4
-rw-r--r--src/exchangedb/Makefile.am1
-rw-r--r--src/mhd/Makefile.am4
-rw-r--r--src/testing/Makefile.am1
7 files changed, 15 insertions, 3 deletions
diff --git a/src/auditor/Makefile.am b/src/auditor/Makefile.am
index 79da458f3..dc3b2b940 100644
--- a/src/auditor/Makefile.am
+++ b/src/auditor/Makefile.am
@@ -43,7 +43,9 @@ libauditorreport_la_LIBADD = \
$(top_builddir)/src/pq/libtalerpq.la \
$(top_builddir)/src/auditordb/libtalerauditordb.la \
$(top_builddir)/src/exchangedb/libtalerexchangedb.la \
- -lgnunetutil $(XLIB)
+ -lgnunetutil \
+ -ljansson \
+ $(XLIB)
taler_auditor_dbinit_SOURCES = \
taler-auditor-dbinit.c
diff --git a/src/auditordb/Makefile.am b/src/auditordb/Makefile.am
index 66e9de791..92aabcd31 100644
--- a/src/auditordb/Makefile.am
+++ b/src/auditordb/Makefile.am
@@ -43,6 +43,7 @@ libtaler_plugin_auditordb_postgres_la_LDFLAGS = \
-lpq \
-lgnunetpq \
-lgnunetutil \
+ -lpthread \
$(XLIB)
lib_LTLIBRARIES = \
diff --git a/src/bank-lib/Makefile.am b/src/bank-lib/Makefile.am
index 72ba5b1cb..820eb43ff 100644
--- a/src/bank-lib/Makefile.am
+++ b/src/bank-lib/Makefile.am
@@ -47,6 +47,7 @@ libtalerbank_la_SOURCES = \
libtalerbank_la_LIBADD = \
$(top_builddir)/src/json/libtalerjson.la \
$(top_builddir)/src/curl/libtalercurl.la \
+ $(top_builddir)/src/util/libtalerutil.la \
-lgnunetcurl \
-lgnunetjson \
-lgnunetutil \
@@ -62,8 +63,10 @@ libtalerfakebank_la_SOURCES = \
libtalerfakebank_la_LIBADD = \
$(top_builddir)/src/json/libtalerjson.la \
$(top_builddir)/src/mhd/libtalermhd.la \
+ $(top_builddir)/src/util/libtalerutil.la \
-lgnunetjson \
-lgnunetutil \
-ljansson \
+ $(LIBGNURLCURL_LIBS) \
-lmicrohttpd \
$(XLIB)
diff --git a/src/curl/Makefile.am b/src/curl/Makefile.am
index 7ddfe4d66..f60a3806d 100644
--- a/src/curl/Makefile.am
+++ b/src/curl/Makefile.am
@@ -17,4 +17,8 @@ libtalercurl_la_SOURCES = \
libtalercurl_la_LIBADD = \
-lgnunetcurl \
-lgnunetutil \
+ $(LIBGNURLCURL_LIBS) \
+ -ljansson \
+ -lz \
+ -lm \
$(XLIB)
diff --git a/src/exchangedb/Makefile.am b/src/exchangedb/Makefile.am
index 582030b53..5333cbda5 100644
--- a/src/exchangedb/Makefile.am
+++ b/src/exchangedb/Makefile.am
@@ -59,6 +59,7 @@ libtalerexchangedb_la_LIBADD = \
$(top_builddir)/src/bank-lib/libtalerbank.la \
$(top_builddir)/src/util/libtalerutil.la \
-lgnunetutil \
+ -lpthread \
$(XLIB)
libtalerexchangedb_la_LDFLAGS = \
$(POSTGRESQL_LDFLAGS) \
diff --git a/src/mhd/Makefile.am b/src/mhd/Makefile.am
index ec0103f4b..d6973cc82 100644
--- a/src/mhd/Makefile.am
+++ b/src/mhd/Makefile.am
@@ -13,7 +13,7 @@ libtalermhd_la_SOURCES = \
mhd_config.c \
mhd_legal.c \
mhd_parsing.c \
- mhd_responses.c
+ mhd_responses.c
libtalermhd_la_LDFLAGS = \
-version-info 0:0:0 \
-export-dynamic -no-undefined
@@ -22,6 +22,6 @@ libtalermhd_la_LIBADD = \
$(top_builddir)/src/json/libtalerjson.la \
$(top_builddir)/src/util/libtalerutil.la \
-lgnunetutil \
+ -lmicrohttpd \
-ljansson \
$(XLIB)
-
diff --git a/src/testing/Makefile.am b/src/testing/Makefile.am
index dfea54076..26c12938a 100644
--- a/src/testing/Makefile.am
+++ b/src/testing/Makefile.am
@@ -106,6 +106,7 @@ libtalertesting_la_SOURCES = \
testing_api_trait_uuid.c \
testing_api_trait_wtid.c
libtalertesting_la_LIBADD = \
+ $(top_builddir)/src/lib/libtalerauditor.la \
$(top_builddir)/src/lib/libtalerexchange.la \
$(top_builddir)/src/json/libtalerjson.la \
$(top_builddir)/src/util/libtalerutil.la \