From 3abb3bc372b69aa17e87f00b22042de02830341e Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 16 Apr 2016 13:10:29 +0200 Subject: use user_config_file as well --- src/exchange-tools/taler-exchange-wire.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/exchange-tools/taler-exchange-wire.c') diff --git a/src/exchange-tools/taler-exchange-wire.c b/src/exchange-tools/taler-exchange-wire.c index 164351271..2c11e8421 100644 --- a/src/exchange-tools/taler-exchange-wire.c +++ b/src/exchange-tools/taler-exchange-wire.c @@ -22,6 +22,7 @@ #include #include #include "taler_crypto_lib.h" +#include "taler_util.h" #include "taler_wire_lib.h" #include "taler_signatures.h" @@ -51,6 +52,7 @@ static char *output_filename; */ static int global_ret; + /** * Main function that will be run. * @@ -211,6 +213,10 @@ main (int argc, GNUNET_GETOPT_OPTION_END }; + /* force linker to link against libtalerutil; if we do + not do this, the linker may "optimize" libtalerutil + away and skip #TALER_OS_init(), which we do need */ + (void) TALER_project_data_default (); GNUNET_assert (GNUNET_OK == GNUNET_log_setup ("taler-exchange-wire", "WARNING", -- cgit v1.2.3