From c807ac1835344e5bed2b057ef42e28c63125d955 Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik Date: Thu, 23 Oct 2014 10:36:58 +0200 Subject: BUILD: Fix linking cwrap tests with -Wl,--as-needed CCLD responder_common-tests .libs/libsss_util.so: undefined reference to `sss_base64_encode' .libs/libsss_util.so: undefined reference to `s3crypt_gen_salt' .libs/libsss_util.so: undefined reference to `sss_base64_decode' .libs/libsss_util.so: undefined reference to `s3crypt_sha512' collect2: error: ld returned 1 exit status Reviewed-by: Jakub Hrozek --- src/tests/cwrap/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tests/cwrap') diff --git a/src/tests/cwrap/Makefile.am b/src/tests/cwrap/Makefile.am index 02be6738..d98bb337 100644 --- a/src/tests/cwrap/Makefile.am +++ b/src/tests/cwrap/Makefile.am @@ -154,9 +154,9 @@ responder_common_tests_LDADD = \ $(CMOCKA_LIBS) \ $(UNICODE_LIBS) \ $(SSSD_LIBS) \ + $(abs_top_builddir)/libsss_util.la \ $(abs_top_builddir)/libsss_debug.la \ $(abs_top_builddir)/libsss_crypt.la \ - $(abs_top_builddir)/libsss_util.la \ $(abs_top_builddir)/libsss_test_common.la \ $(NULL) -- cgit