diff --git a/testing/Makefile.inc b/testing/Makefile.inc index fa1c1029..b0435a59 100644 --- a/testing/Makefile.inc +++ b/testing/Makefile.inc @@ -8,6 +8,10 @@ endif noinst_LTLIBRARIES += libmisc_tools.la libmisc_tools_la_SOURCES = ../testing/misc_tools.c ../testing/misc_tools.h +libmisc_tools_la_CFLAGS = $(LIBSODIUM_CFLAGS) + +libmisc_tools_la_LIBADD = $(LIBSODIUM_LDFLAGS) + if BUILD_TESTING noinst_PROGRAMS += DHT_test \ diff --git a/testing/misc_tools.c b/testing/misc_tools.c index c9a73b3e..9549b4b6 100644 --- a/testing/misc_tools.c +++ b/testing/misc_tools.c @@ -40,7 +40,7 @@ #include #ifndef VANILLA_NACL -#include "sodium.h" +#include #endif #if defined(_WIN32) || defined(__WIN32__) || defined(WIN32)