add missing linker options, bonus fun

This commit is contained in:
Christian Grothoff 2020-12-31 22:22:19 +01:00
parent 0bffea1f67
commit f82488c060
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC
4 changed files with 6 additions and 5 deletions

View File

@ -211,9 +211,9 @@ AS_IF([test "$gnurl" = 1],
[AM_CONDITIONAL(HAVE_LIBGNURL, false) [AM_CONDITIONAL(HAVE_LIBGNURL, false)
AC_DEFINE([HAVE_LIBGNURL],[0],[Lacking libgnurl]) AC_DEFINE([HAVE_LIBGNURL],[0],[Lacking libgnurl])
AM_CONDITIONAL(HAVE_LIBCURL, true) AM_CONDITIONAL(HAVE_LIBCURL, true)
AC_DEFINE([HAVE_LIBCURL],[1],[Have libcurl])], AC_DEFINE([HAVE_LIBCURL],[1],[Have libcurl])
[LIBGNURLCURL_LIBS="-lcurl"] [LIBGNURLCURL_LIBS="-lcurl"]],
[AC_MSG_ERROR([WARNING: No libgnurl/libcurl, taler-bank support will not be compiled])])]) [AC_MSG_ERROR([FATAL: No libgnurl/libcurl])])])
AC_SUBST([LIBGNURLCURL_LIBS]) AC_SUBST([LIBGNURLCURL_LIBS])

@ -1 +1 @@
Subproject commit e2f247cf9364ea0d441ae4c7b2f0aaa427e03dae Subproject commit 4cf365f9c9b07fefa00fed6092885309359b6093

View File

@ -44,6 +44,7 @@ libtaler_plugin_exchangedb_postgres_la_LDFLAGS = \
$(top_builddir)/src/pq/libtalerpq.la \ $(top_builddir)/src/pq/libtalerpq.la \
$(top_builddir)/src/util/libtalerutil.la \ $(top_builddir)/src/util/libtalerutil.la \
-lpq \ -lpq \
-lpthread \
-lgnunetpq \ -lgnunetpq \
-lgnunetutil \ -lgnunetutil \
$(XLIB) $(XLIB)
@ -59,7 +60,6 @@ libtalerexchangedb_la_LIBADD = \
$(top_builddir)/src/bank-lib/libtalerbank.la \ $(top_builddir)/src/bank-lib/libtalerbank.la \
$(top_builddir)/src/util/libtalerutil.la \ $(top_builddir)/src/util/libtalerutil.la \
-lgnunetutil \ -lgnunetutil \
-lpthread \
$(XLIB) $(XLIB)
libtalerexchangedb_la_LDFLAGS = \ libtalerexchangedb_la_LDFLAGS = \
$(POSTGRESQL_LDFLAGS) \ $(POSTGRESQL_LDFLAGS) \

View File

@ -24,4 +24,5 @@ libtalermhd_la_LIBADD = \
-lgnunetutil \ -lgnunetutil \
-lmicrohttpd \ -lmicrohttpd \
-ljansson \ -ljansson \
-lz \
$(XLIB) $(XLIB)