diff options
| -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 aaa468a7..f936e64d 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 eaca7cd6..dbe15652 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.   * | 
