Blame SOURCES/0134-test-make-sure-p11_child-is-build-for-pam-srv-tests.patch

bb7cd1
From 9e7bb71e02af7cf8fe8b593ddc762a09183ff32c Mon Sep 17 00:00:00 2001
bb7cd1
From: Sumit Bose <sbose@redhat.com>
bb7cd1
Date: Mon, 22 May 2017 15:04:17 +0200
bb7cd1
Subject: [PATCH 134/135] test: make sure p11_child is build for pam-srv-tests
bb7cd1
MIME-Version: 1.0
bb7cd1
Content-Type: text/plain; charset=UTF-8
bb7cd1
Content-Transfer-Encoding: 8bit
bb7cd1
bb7cd1
Reviewed-by: Fabiano FidĂȘncio <fidencio@redhat.com>
bb7cd1
(cherry picked from commit ec9ac22d699a17d590b1d4ba9ba3750eb719f340)
bb7cd1
---
bb7cd1
 Makefile.am | 3 +++
bb7cd1
 1 file changed, 3 insertions(+)
bb7cd1
bb7cd1
diff --git a/Makefile.am b/Makefile.am
bb7cd1
index 370d6442ec58a14946ad288a23c696f25ca98f47..a6279133b56dcd5bcbd1306ae8f2ce18d90c2c12 100644
bb7cd1
--- a/Makefile.am
bb7cd1
+++ b/Makefile.am
bb7cd1
@@ -2356,6 +2356,9 @@ nss_srv_tests_LDADD = \
bb7cd1
 EXTRA_pam_srv_tests_DEPENDENCIES = \
bb7cd1
     $(ldblib_LTLIBRARIES) \
bb7cd1
     $(NULL)
bb7cd1
+if HAVE_NSS
bb7cd1
+EXTRA_pam_srv_tests_DEPENDENCIES += p11_child
bb7cd1
+endif
bb7cd1
 pam_srv_tests_SOURCES = \
bb7cd1
     $(TEST_MOCK_RESP_OBJ) \
bb7cd1
     src/tests/cmocka/test_pam_srv.c \
bb7cd1
-- 
bb7cd1
2.9.3
bb7cd1