summaryrefslogtreecommitdiff
path: root/src/exchange-tools/taler-exchange-wire.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-04-16 13:10:29 +0200
committerChristian Grothoff <christian@grothoff.org>2016-04-16 13:10:29 +0200
commit3abb3bc372b69aa17e87f00b22042de02830341e (patch)
tree4f1c45f40c30b18e35ffc7e983788ffdbe434ed5 /src/exchange-tools/taler-exchange-wire.c
parentf552b7e4c03ec46c9ac562c751604466b393d9c8 (diff)
downloadexchange-3abb3bc372b69aa17e87f00b22042de02830341e.tar.gz
exchange-3abb3bc372b69aa17e87f00b22042de02830341e.tar.bz2
exchange-3abb3bc372b69aa17e87f00b22042de02830341e.zip
use user_config_file as well
Diffstat (limited to 'src/exchange-tools/taler-exchange-wire.c')
-rw-r--r--src/exchange-tools/taler-exchange-wire.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/exchange-tools/taler-exchange-wire.c b/src/exchange-tools/taler-exchange-wire.c
index 16435127..2c11e842 100644
--- a/src/exchange-tools/taler-exchange-wire.c
+++ b/src/exchange-tools/taler-exchange-wire.c
@@ -22,6 +22,7 @@
#include <jansson.h>
#include <gnunet/gnunet_json_lib.h>
#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",