From ffcee9ab7119fb0580d3d4e3938316d3c29d6352 Mon Sep 17 00:00:00 2001 From: Clemens Lang Date: Sat, 10 Mar 2012 02:30:26 +0100 Subject: [PATCH] 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 --- src/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.11.0