From: Clemens Lang Date: Sat, 10 Mar 2012 01:30:26 +0000 (+0100) Subject: Makefile adds dependency on $(LIBLTDL), which is valued "-lltdl" X-Git-Tag: collectd-4.10.7~9 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=ffcee9ab7119fb0580d3d4e3938316d3c29d6352;p=collectd.git Makefile adds dependency on $(LIBLTDL), which is valued "-lltdl" When building on OS X, the collectd build failed, because the collectd target has a dependency on "-lltdl", which is the value the variable $(LIBLTDL) has. Obviously, this should be the file name instead. I am however not sure how to specify the correct filename in this case. Fixes GitHub issue #54. Signed-off-by: Florian Forster --- diff --git a/src/Makefile.am b/src/Makefile.am index 0c427dc8..fd85107f 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -85,7 +85,7 @@ endif if BUILD_WITH_OWN_LIBOCONFIG collectd_LDADD += $(LIBLTDL) liboconfig/liboconfig.la -collectd_DEPENDENCIES += $(LIBLTDL) liboconfig/liboconfig.la +collectd_DEPENDENCIES += liboconfig/liboconfig.la else collectd_LDADD += -loconfig endif