From 0efba0f621d3898c9d271e9bae2da94546cd21c0 Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik Date: Wed, 30 Oct 2013 12:04:04 +0100 Subject: Makefile: Add missing libraries If sssd is compiled with disabled link_all_deplibs (debian) some test could not be properly linked. This patch add missing libraries --- Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 7892722e4..58ba90d58 100644 --- a/Makefile.am +++ b/Makefile.am @@ -891,6 +891,8 @@ libsss_test_common_la_SOURCES = \ src/tests/common_dom.c \ src/tests/leak_check.c \ src/tests/common.c +libsss_test_common_la_LIBADD = \ + $(TALLOC_LIBS) if HAVE_CHECK libsss_test_common_la_SOURCES += \ @@ -1352,6 +1354,7 @@ test_sss_idmap_CFLAGS = \ $(AM_CFLAGS) test_sss_idmap_LDADD = \ $(CMOCKA_LIBS) \ + $(POPT_LIBS) \ libsss_idmap.la \ $(SSSD_INTERNAL_LTLIBS) \ libsss_test_common.la @@ -1363,6 +1366,7 @@ test_utils_CFLAGS = \ $(AM_CFLAGS) test_utils_LDADD = \ $(CMOCKA_LIBS) \ + $(POPT_LIBS) \ $(SSSD_INTERNAL_LTLIBS) \ libsss_test_common.la -- cgit