aboutsummaryrefslogtreecommitdiff
path: root/src/topology
diff options
context:
space:
mode:
Diffstat (limited to 'src/topology')
-rw-r--r--src/topology/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/topology/Makefile.am b/src/topology/Makefile.am
index b8b534a0a0..97bc28bd26 100644
--- a/src/topology/Makefile.am
+++ b/src/topology/Makefile.am
@@ -46,7 +46,7 @@ check_PROGRAMS = \
endif
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)
endif