aboutsummaryrefslogtreecommitdiff
path: root/src/fragmentation/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/fragmentation/Makefile.am')
-rw-r--r--src/fragmentation/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fragmentation/Makefile.am b/src/fragmentation/Makefile.am
index 9b7369aff5..2497b5a078 100644
--- a/src/fragmentation/Makefile.am
+++ b/src/fragmentation/Makefile.am
@@ -25,7 +25,7 @@ check_PROGRAMS = \
test_fragmentation
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