aboutsummaryrefslogtreecommitdiff
path: root/src/wire-plugins/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/wire-plugins/Makefile.am')
-rw-r--r--src/wire-plugins/Makefile.am15
1 files changed, 11 insertions, 4 deletions
diff --git a/src/wire-plugins/Makefile.am b/src/wire-plugins/Makefile.am
index 9f6029d7f..393bfb1b8 100644
--- a/src/wire-plugins/Makefile.am
+++ b/src/wire-plugins/Makefile.am
@@ -18,8 +18,17 @@ EXTRA_DIST = \
plugindir = $(libdir)/taler
plugin_LTLIBRARIES = \
- libtaler_plugin_wire_ebics.la \
- libtaler_plugin_wire_taler_bank.la
+ libtaler_plugin_wire_ebics.la
+
+if HAVE_LIBCURL
+plugin_LTLIBRARIES += \
+ libtaler_plugin_wire_taler_bank.la
+else
+if HAVE_LIBGNURL
+plugin_LTLIBRARIES += \
+ libtaler_plugin_wire_taler_bank.la
+endif
+endif
noinst_LTLIBRARIES = \
libtaler_plugin_wire_template.la
@@ -44,9 +53,7 @@ libtaler_plugin_wire_ebics_la_LIBADD = \
$(LTLIBINTL)
libtaler_plugin_wire_ebics_la_LDFLAGS = \
$(TALER_PLUGIN_LDFLAGS) \
- $(top_builddir)/src/json/libtalerjson.la \
$(top_builddir)/src/util/libtalerutil.la \
- -lgnunetjson \
-lgnunetutil $(XLIB)