- log
[oweals/gnunet.git] / src / pt / Makefile.am
index ebd6628519cb82d20361e77e3f2624fd95374c8d..2f821288a2d71981215193a25081acdc28117f53 100644 (file)
@@ -57,7 +57,7 @@ endif
 check_PROGRAMS = $(VPN_TEST)
 
 if ENABLE_TEST_RUN
-TESTS_ENVIRONMENT=export GNUNET_PREFIX=@prefix@;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