summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a644c80)
raw | patch | inline | side by side (parent: a644c80)
author | Florian Forster <octo@collectd.org> | |
Tue, 26 May 2015 19:43:10 +0000 (21:43 +0200) | ||
committer | Florian Forster <octo@collectd.org> | |
Tue, 26 May 2015 19:43:10 +0000 (21:43 +0200) |
collectd-tg tried to link with libheap.a (instead of ….la), which
doesn't exist. testing.h was not mentioned by any target, leading to it
being missing form the tarballs.
doesn't exist. testing.h was not mentioned by any target, leading to it
being missing form the tarballs.
src/Makefile.am | patch | blob | history | |
src/daemon/Makefile.am | patch | blob | history |
diff --git a/src/Makefile.am b/src/Makefile.am
index 37d9216f8a5eb2382cb49c0213f0f63489175962..9839c03a3358a6d82b79381d3bbb4c69cd88ace0 100644 (file)
--- a/src/Makefile.am
+++ b/src/Makefile.am
collectd_tg_SOURCES = collectd-tg.c
collectd_tg_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/src/libcollectdclient/collectd -I$(top_builddir)/src/libcollectdclient/collectd
-collectd_tg_LDADD = daemon/libheap.a
+collectd_tg_LDADD = daemon/libheap.la
if BUILD_WITH_LIBSOCKET
collectd_tg_LDADD += -lsocket
endif
check_PROGRAMS = test_utils_mount test_utils_vl_lookup
-test_utils_mount_SOURCES = utils_mount_test.c
+test_utils_mount_SOURCES = utils_mount_test.c testing.h
test_utils_mount_LDADD = libmount.la daemon/libplugin_mock.la
-test_utils_vl_lookup_SOURCES = utils_vl_lookup_test.c
+test_utils_vl_lookup_SOURCES = utils_vl_lookup_test.c testing.h
test_utils_vl_lookup_LDADD = liblookup.la daemon/libplugin_mock.la
TESTS = test_utils_mount test_utils_vl_lookup
diff --git a/src/daemon/Makefile.am b/src/daemon/Makefile.am
index 06bc150f3282a745a93313885322afec8f0bd622..7f826e345a579888f9a4b9015a4a867b126189b8 100644 (file)
--- a/src/daemon/Makefile.am
+++ b/src/daemon/Makefile.am
check_PROGRAMS = test_common test_utils_avltree test_utils_heap
TESTS = test_common test_utils_avltree test_utils_heap
-test_common_SOURCES = common_test.c
+test_common_SOURCES = common_test.c ../testing.h
test_common_LDADD = libcommon.la libplugin_mock.la
-test_utils_avltree_SOURCES = utils_avltree_test.c
+test_utils_avltree_SOURCES = utils_avltree_test.c ../testing.h
test_utils_avltree_LDADD = libavltree.la
-test_utils_heap_SOURCES = utils_heap_test.c
+test_utils_heap_SOURCES = utils_heap_test.c ../testing.h
test_utils_heap_LDADD = libheap.la