diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-04-16 19:53:01 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-04-16 19:53:01 +0200 |
commit | dda069f5f989c029242be985fe299ab289d91e67 (patch) | |
tree | 17aaacf9bb486fecf9f2aff833b5d2f54f4b8240 /src/exchange-tools | |
parent | 719b51b65df263dbd41bc1adc9eccfdf07bcda46 (diff) |
fix linker issue
Diffstat (limited to 'src/exchange-tools')
-rw-r--r-- | src/exchange-tools/taler-exchange-dbinit.c | 4 | ||||
-rw-r--r-- | src/exchange-tools/taler-exchange-keycheck.c | 1 |
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. * |