-fix time assertion introduce in last patch
[oweals/gnunet.git] / src / topology / Makefile.am
index 4f354a1412bde9c0ed573cde48cc03eeca4cd98a..97bc28bd26062fb2ffaf680530880efe986b7c34 100644 (file)
@@ -46,7 +46,7 @@ check_PROGRAMS = \
 endif
 
 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