aboutsummaryrefslogtreecommitdiff
path: root/src/dns/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/dns/Makefile.am')
-rw-r--r--src/dns/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dns/Makefile.am b/src/dns/Makefile.am
index 041fc67b28..0ef1623f9f 100644
--- a/src/dns/Makefile.am
+++ b/src/dns/Makefile.am
@@ -115,7 +115,7 @@ libgnunet_plugin_block_dns_la_LDFLAGS = \
if ENABLE_TEST_RUN
-TESTS_ENVIRONMENT=export GNUNET_PREFIX=@libdir@;export PATH=@prefix@/bin:$$PATH;
+AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;
TESTS = $(check_PROGRAMS) $(check_SCRIPTS)
endif