X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2FMakefile.am;h=62f98751f05e8efb7ffba40aece71e72732cddf0;hb=9c3ed6462c15fd1cb664cd0ec2a5efb289aa1af6;hp=36ce028fe45e634cd6579be93a4c16dadf5af8a2;hpb=21077b074c468a41dbd60baad691ebc7f2991d43;p=collectd.git diff --git a/src/Makefile.am b/src/Makefile.am index 36ce028f..62f98751 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 @@ -823,7 +823,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 @@ -918,6 +918,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 @@ -1094,7 +1095,7 @@ pkglib_LTLIBRARIES += statsd.la statsd_la_SOURCES = statsd.c \ utils_latency.h utils_latency.c statsd_la_LDFLAGS = -module -avoid-version -statsd_la_LIBADD = -lpthread +statsd_la_LIBADD = -lpthread -lm collectd_LDADD += "-dlopen" statsd.la collectd_DEPENDENCIES += statsd.la endif