summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2015-09-22 22:06:37 +0200
committerJakub Hrozek <jhrozek@redhat.com>2015-09-24 16:49:44 +0200
commit71493344f59002272c2cc069daa3b6147e9cb0c3 (patch)
treec7d7bad191a32f2f88a7d30374a5d50a29ce5126
parent42bd89dbe77846b6ee60365bba50da521745bca1 (diff)
downloadsssd-71493344f59002272c2cc069daa3b6147e9cb0c3.tar.gz
sssd-71493344f59002272c2cc069daa3b6147e9cb0c3.tar.xz
sssd-71493344f59002272c2cc069daa3b6147e9cb0c3.zip
BUILD: Simplify build of test_data_provider_be
It's an alternative solution for https://fedorahosted.org/sssd/ticket/2799 Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
-rw-r--r--Makefile.am11
1 files changed, 3 insertions, 8 deletions
diff --git a/Makefile.am b/Makefile.am
index 0c2e60e4f..e3dcd02f3 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -2579,29 +2579,24 @@ test_cert_utils_LDADD = \
$(NULL)
test_data_provider_be_SOURCES = \
- $(sssd_be_SOURCES) \
+ src/providers/data_provider_be.c \
src/tests/cmocka/test_data_provider_be.c \
src/tests/cmocka/common_mock_be.c \
$(NULL)
test_data_provider_be_CFLAGS = \
$(AM_CFLAGS) \
-DUNIT_TESTING \
- $(CRYPTO_CFLAGS) \
$(NULL)
test_data_provider_be_LDFLAGS = \
-Wl,-wrap,_tevent_add_timer \
$(NULL)
test_data_provider_be_LDADD = \
$(CMOCKA_LIBS) \
- $(CARES_LIBS) \
- $(POPT_LIBS) \
$(PAM_LIBS) \
- $(TALLOC_LIBS) \
- $(LDB_LIBS) \
- $(DBUS_LIBS) \
+ $(SSSD_LIBS) \
$(SSSD_INTERNAL_LTLIBS) \
- libsss_debug.la \
libsss_test_common.la \
+ libdlopen_test_providers.la \
$(NULL)
endif # HAVE_CMOCKA