summaryrefslogtreecommitdiffstats
path: root/src/tests/cwrap
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2014-10-23 10:36:58 +0200
committerJakub Hrozek <jhrozek@redhat.com>2014-10-27 19:09:14 +0100
commitc807ac1835344e5bed2b057ef42e28c63125d955 (patch)
tree8055f94f9ef2d5eeeda469b2145985857787fc7c /src/tests/cwrap
parentf3b9a5b3cf62124bdb5fc11ae2fe6a89ff921539 (diff)
downloadsssd-c807ac1835344e5bed2b057ef42e28c63125d955.tar.gz
sssd-c807ac1835344e5bed2b057ef42e28c63125d955.tar.xz
sssd-c807ac1835344e5bed2b057ef42e28c63125d955.zip
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 <jhrozek@redhat.com>
Diffstat (limited to 'src/tests/cwrap')
-rw-r--r--src/tests/cwrap/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/cwrap/Makefile.am b/src/tests/cwrap/Makefile.am
index 02be67387..d98bb3379 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)