gnunet-qr.c \
gnunet-qr-utils.h
gnunet_qr_LDFLAGS= $(libzbar_LIBS)
-gnunet_qr_CFLAGS = $(libzbar_CFLAGS)
+gnunet_qr_CFLAGS = $(libzbar_CFLAGS) -DBINDIR=\"@bindir@/\"
plugin_LTLIBRARIES = \
libgnunet_plugin_test.la
if (configuration == NULL) {
char* command_args[] = {"gnunet-uri", data, NULL };
LOG("Running `gnunet-uri %s`\n", data);
- rc = fork_and_exec("gnunet-uri", command_args);
+ rc = fork_and_exec(BINDIR "gnunet-uri", command_args);
} else {
char* command_args[] = {"gnunet-uri", "-c", configuration, data, NULL };
LOG("Running `gnunet-uri -c '%s' %s`\n", configuration, data);
- rc = fork_and_exec("gnunet-uri", command_args);
+ rc = fork_and_exec(BINDIR "gnunet-uri", command_args);
};
if (rc != 0) {