fix #3275 with solution from https://gnunet.org/bugs/view.php?id=3275#c8029
[oweals/gnunet.git] / src / namestore / Makefile.am
index 91bc3d5ef44beadd73653135664c1cc03372ed5e..32d29ebca15fff9a1800940ea1918c4b4a824bdf 100644 (file)
@@ -63,6 +63,7 @@ check_PROGRAMS = \
 endif
 
 if ENABLE_TEST_RUN
+TESTS_ENVIRONMENT=export GNUNET_PREFIX=@prefix@;export PATH=@prefix@/bin:$$PATH;
 TESTS = \
   $(check_PROGRAMS) \
   $(check_SCRIPTS)