>From 4d03142990d1e893306fa15a5aa5cd011fb3582f Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik Date: Mon, 21 Sep 2015 21:37:41 +0200 Subject: [PATCH 2/3] BUILD: Link crypto_tests with existing library It's not necessary to bundle libsss_crypto to crypto_tests. We can link it directly. --- Makefile.am | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Makefile.am b/Makefile.am index 6ed3de0c2aca12f156a1b8341f10827f722f5a06..e2f63475802db8c1b2c9de22c9c12deae2d71abb 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1723,17 +1723,16 @@ debug_tests_LDADD = \ libsss_debug.la crypto_tests_SOURCES = \ - $(SSS_CRYPT_SOURCES) \ src/tests/crypto-tests.c crypto_tests_CFLAGS = \ - $(SSS_CRYPT_CFLAGS) \ $(AM_CFLAGS) \ $(CHECK_CFLAGS) crypto_tests_LDADD = \ - libsss_debug.la \ - $(SSS_CRYPT_LIBS) \ - $(SSSD_LIBS) \ $(CHECK_LIBS) \ + $(POPT_LIBS) \ + $(TALLOC_LIBS) \ + libsss_crypt.la \ + libsss_debug.la \ libsss_test_common.la ipa_hbac_tests_SOURCES = \ -- 2.5.0