>From dba96682473205f27bf17d9882c286d3ca0d984b Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik Date: Tue, 25 Nov 2014 13:50:49 +0100 Subject: [PATCH 2/3] TESTS: Add missing dependency to libsss_test_common Compilation of another test failed due to missing functions. CCLD mc_client_tests ./.libs/libsss_test_common.a(common_dom.o): In function `create_dom_test_ctx': src/tests/common_dom.c:65: undefined reference to `confdb_init' src/tests/common_dom.c:72: undefined reference to `confdb_add_param' src/tests/common_dom.c:86: undefined reference to `confdb_add_param' src/tests/common_dom.c:96: undefined reference to `confdb_add_param' src/tests/common_dom.c:107: undefined reference to `sssd_domain_init' src/tests/common_dom.c:116: undefined reference to `sss_names_init_from_args' collect2: error: ld returned 1 exit status Makefile:8379: recipe for target 'mc_client_tests' failed --- Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 95f282814ce64a6440f48628cf63c754466a161c..0784c5457cf7580ddd4d3d48876c5d7a6f9f4705 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1229,7 +1229,9 @@ libsss_test_common_la_SOURCES = \ src/tests/common.c libsss_test_common_la_LIBADD = \ $(TALLOC_LIBS) \ - $(TEVENT_LIBS) + $(TEVENT_LIBS) \ + $(SSSD_INTERNAL_LTLIBS) \ + $(NULL) if HAVE_CHECK libsss_test_common_la_SOURCES += \ -- 2.1.0