X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=Makefile.am;h=bdb95a1b367eca87908eac31f097968769c24b68;hb=312a9ccac32b6850eb7dc5e3710bf0c163d48116;hp=f8353d4c58cf5b22eaef5249be207f27ac6070f8;hpb=a503c54a95d139f117650a0e6d80e6edfe81e8bf;p=collectd.git 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