X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=Makefile.am;h=bdb95a1b367eca87908eac31f097968769c24b68;hp=f8353d4c58cf5b22eaef5249be207f27ac6070f8;hb=6670a5272d371fcfc55801b5114b6bdc6f70b017;hpb=0efda4fc47a35dd77171dfc8d4f383ec6f260ffb diff --git a/Makefile.am b/Makefile.am index f8353d4c..bdb95a1b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1420,6 +1420,12 @@ test_plugin_network_LDADD = \ libplugin_mock.la \ libmetadata.la \ $(GCRYPT_LIBS) +if BUILD_WITH_LIBSOCKET +test_plugin_network_LDADD += -lsocket +endif +if BUILD_WITH_LIBNSL +test_plugin_network_LDADD += -lnsl +endif check_PROGRAMS += test_plugin_network endif