summaryrefslogtreecommitdiff
path: root/src/exchange-tools
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-04-16 19:53:01 +0200
committerChristian Grothoff <christian@grothoff.org>2016-04-16 19:53:01 +0200
commitdda069f5f989c029242be985fe299ab289d91e67 (patch)
tree17aaacf9bb486fecf9f2aff833b5d2f54f4b8240 /src/exchange-tools
parent719b51b65df263dbd41bc1adc9eccfdf07bcda46 (diff)
downloadexchange-dda069f5f989c029242be985fe299ab289d91e67.tar.gz
exchange-dda069f5f989c029242be985fe299ab289d91e67.tar.bz2
exchange-dda069f5f989c029242be985fe299ab289d91e67.zip
fix linker issue
Diffstat (limited to 'src/exchange-tools')
-rw-r--r--src/exchange-tools/taler-exchange-dbinit.c4
-rw-r--r--src/exchange-tools/taler-exchange-keycheck.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/src/exchange-tools/taler-exchange-dbinit.c b/src/exchange-tools/taler-exchange-dbinit.c
index aaa468a74..f936e64d6 100644
--- a/src/exchange-tools/taler-exchange-dbinit.c
+++ b/src/exchange-tools/taler-exchange-dbinit.c
@@ -83,6 +83,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-dbinit",
"INFO",
diff --git a/src/exchange-tools/taler-exchange-keycheck.c b/src/exchange-tools/taler-exchange-keycheck.c
index eaca7cd61..dbe156526 100644
--- a/src/exchange-tools/taler-exchange-keycheck.c
+++ b/src/exchange-tools/taler-exchange-keycheck.c
@@ -41,6 +41,7 @@ static const struct GNUNET_CONFIGURATION_Handle *kcfg;
*/
static int global_ret;
+
/**
* Function called on each signing key.
*