summary refs log tree commit diff
path: root/pkgs/applications/networking/p2p/gnunet/identity-test.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/networking/p2p/gnunet/identity-test.patch')
-rw-r--r--pkgs/applications/networking/p2p/gnunet/identity-test.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/pkgs/applications/networking/p2p/gnunet/identity-test.patch b/pkgs/applications/networking/p2p/gnunet/identity-test.patch
new file mode 100644
index 000000000000..0d5a16408351
--- /dev/null
+++ b/pkgs/applications/networking/p2p/gnunet/identity-test.patch
@@ -0,0 +1,19 @@
+That test tries to load `libgnunetmodule_transport' but cannot locate it
+out of the box.
+
+diff --git a/src/applications/identity/Makefile.in b/src/applications/identity/Makefile.in
+index 0bc5efc..5341f41 100644
+--- a/src/applications/identity/Makefile.in
++++ b/src/applications/identity/Makefile.in
+@@ -337,6 +337,11 @@ libgnunetidentity_api_la_LIBADD = \
+   $(top_builddir)/src/util/libgnunetutil.la 
+ 
+ TESTS = $(check_PROGRAMS)
++
++# Allow `libgnunetmodule_transport' et al. to be located
++# by `GNUNET_CORE_p2p_init ()'.
++TESTS_ENVIRONMENT = LTDL_LIBRARY_PATH="$(top_builddir)/src/applications/transport:$(top_builddir)/src/transports:$(top_builddir)/src/transports/upnp:$(top_builddir)/src/applications/stats"
++
+ identitytest_SOURCES = \
+  identitytest.c 
+