xvine:fixes
[oweals/gnunet.git] / src / integration-tests / Makefile.am
index 2a106d3818c5ce5d6aed05904205e9b11d579333..74e7eed625c186deb5fd153c53824de32953fc6e 100644 (file)
@@ -26,7 +26,7 @@ endif
 
 if HAVE_MHD
 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_SCRIPTS)
 endif