aboutsummaryrefslogtreecommitdiff
path: root/src/merchant-tools/taler-merchant-dbinit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/merchant-tools/taler-merchant-dbinit.c')
-rw-r--r--src/merchant-tools/taler-merchant-dbinit.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/merchant-tools/taler-merchant-dbinit.c b/src/merchant-tools/taler-merchant-dbinit.c
index aaabdcbe..5fb2d3ab 100644
--- a/src/merchant-tools/taler-merchant-dbinit.c
+++ b/src/merchant-tools/taler-merchant-dbinit.c
@@ -22,6 +22,7 @@
#include "platform.h"
#include <taler/taler_util.h>
#include <gnunet/gnunet_util_lib.h>
+#include "taler_merchant_util.h"
#include "taler_merchantdb_lib.h"
@@ -106,11 +107,8 @@ main (int argc,
};
enum GNUNET_GenericReturnValue ret;
- /* 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 ();
ret = GNUNET_PROGRAM_run (
+ TALER_MERCHANT_project_data (),
argc, argv,
"taler-merchant-dbinit",
gettext_noop ("Initialize Taler merchant database"),