X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2FMakefile.am;h=c24e73802257fac2406926ec2ebc26a15e9ab0a9;hb=82e27678f8972d2625b466e7e7ba9daaa6395c98;hp=71abeca93a71f04bf2a4ca96eb5c22af51def8fa;hpb=30aaad03b66ff22d8cc50de2116b2d93a9d445f2;p=collectd.git diff --git a/src/Makefile.am b/src/Makefile.am index 71abeca9..c24e7380 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -143,7 +143,7 @@ pkglib_LTLIBRARIES += aggregation.la aggregation_la_SOURCES = aggregation.c \ utils_vl_lookup.c utils_vl_lookup.h aggregation_la_LDFLAGS = -module -avoid-version -aggregation_la_LIBADD = +aggregation_la_LIBADD = -lm collectd_LDADD += "-dlopen" aggregation.la collectd_DEPENDENCIES += aggregation.la endif @@ -477,8 +477,8 @@ if BUILD_PLUGIN_IPTABLES pkglib_LTLIBRARIES += iptables.la iptables_la_SOURCES = iptables.c iptables_la_CPPFLAGS = $(AM_CPPFLAGS) $(BUILD_WITH_LIBIPTC_CPPFLAGS) -iptables_la_LDFLAGS = -module -avoid-version $(BUILD_WITH_LIBIPTC_LDFLAGS) -iptables_la_LIBADD = -liptc +iptables_la_LDFLAGS = -module -avoid-version +iptables_la_LIBADD = $(BUILD_WITH_LIBIPTC_LDFLAGS) collectd_LDADD += "-dlopen" iptables.la collectd_DEPENDENCIES += iptables.la endif @@ -796,7 +796,7 @@ if BUILD_PLUGIN_NOTIFY_EMAIL pkglib_LTLIBRARIES += notify_email.la notify_email_la_SOURCES = notify_email.c notify_email_la_LDFLAGS = -module -avoid-version -notify_email_la_LIBADD = -lesmtp -lssl -lcrypto -lpthread -ldl +notify_email_la_LIBADD = -lesmtp -lssl -lcrypto -lpthread collectd_LDADD += "-dlopen" notify_email.la collectd_DEPENDENCIES += notify_email.la endif @@ -891,6 +891,7 @@ perl_la_CFLAGS += -Wno-nonnull endif perl_la_LDFLAGS = -module -avoid-version \ $(PERL_LDFLAGS) +perl_la_LIBADD = $(PERL_LIBS) collectd_LDADD += "-dlopen" perl.la collectd_DEPENDENCIES += perl.la endif