-fix crash observed on FreeBSD
[oweals/gnunet.git] / src / scalarproduct / Makefile.am
index 010d7ebfa79eec385cb1db14aaf94b0e0440667d..a92e684f4cd2d13754e43097292e260ab3dbe743 100644 (file)
@@ -39,7 +39,7 @@ gnunet_service_scalarproduct_SOURCES = \
   gnunet-service-scalarproduct.c
 gnunet_service_scalarproduct_LDADD = \
   $(top_builddir)/src/util/libgnunetutil.la \
-  $(top_builddir)/src/mesh/libgnunetmesh.la \
+  $(top_builddir)/src/cadet/libgnunetcadet.la \
   $(top_builddir)/src/set/libgnunetset.la \
   $(LIBGCRYPT_LIBS) \
   -lgcrypt \
@@ -67,6 +67,6 @@ check_SCRIPTS = \
   test_scalarproduct_negativezero.sh
 
 if ENABLE_TEST_RUN
-  TESTS_ENVIRONMENT=export GNUNET_PREFIX=@libdir@;export PATH=@prefix@/bin:$$PATH;
-  TESTS = $(check_SCRIPTS)
+  AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;
+#  TESTS = $(check_SCRIPTS)
 endif