Makefile.am: Add gcrypt dependencies to test_plugin_network.
authorFlorian Forster <octo@collectd.org>
Wed, 20 Feb 2019 08:08:43 +0000 (09:08 +0100)
committerFlorian Forster <octo@collectd.org>
Wed, 20 Feb 2019 09:35:52 +0000 (10:35 +0100)
Makefile.am

index e78be63..5121176 100644 (file)
@@ -1371,12 +1371,19 @@ network_la_LDFLAGS += $(GCRYPT_LDFLAGS)
 network_la_LIBADD += $(GCRYPT_LIBS)
 endif
 
-test_plugin_network_SOURCES = src/network_test.c \
-                             src/daemon/configfile.c \
-                             src/daemon/types_list.c
-test_plugin_network_CPPFLAGS = $(AM_CPPFLAGS)
-test_plugin_network_LDFLAGS = $(PLUGIN_LDFLAGS)
-test_plugin_network_LDADD = liboconfig.la libplugin_mock.la libmetadata.la
+test_plugin_network_SOURCES = \
+       src/network_test.c \
+       src/utils_fbhash.c \
+       src/daemon/configfile.c \
+       src/daemon/types_list.c
+test_plugin_network_CPPFLAGS = $(AM_CPPFLAGS) $(GCRYPT_CPPFLAGS)
+test_plugin_network_LDFLAGS = $(PLUGIN_LDFLAGS) $(GCRYPT_LDFLAGS)
+test_plugin_network_LDADD = \
+       libavltree.la \
+       liboconfig.la \
+       libplugin_mock.la \
+       libmetadata.la \
+       $(GCRYPT_LIBS)
 check_PROGRAMS += test_plugin_network
 endif