fix linker issue

This commit is contained in:
Christian Grothoff 2016-04-16 19:53:01 +02:00
parent 719b51b65d
commit dda069f5f9
2 changed files with 5 additions and 0 deletions

View File

@ -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",

View File

@ -41,6 +41,7 @@ static const struct GNUNET_CONFIGURATION_Handle *kcfg;
*/
static int global_ret;
/**
* Function called on each signing key.
*