From 5bcb59c94ceb86b4ccd280a5a3f47c16fb08aac3 Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik Date: Wed, 12 Feb 2014 21:17:20 +0100 Subject: IPA: explicitly link libsss_ipa with selinux library MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Function selinux_policy_root is used in the module ipa_selinux.c by macro selogin_path, but libsss_ipa.so was not linked with selinux library It was not problem because another libraries depens on selinux.so libsss_ipa.so -> libk5crypto.so -> libkrb5support.so -> libselinux.so We should not rely on dependencies of other libraries. Reviewed-by: Pavel Březina --- Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile.am b/Makefile.am index efb314d47..9d5526a58 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1794,6 +1794,7 @@ libsss_ipa_la_LIBADD = \ $(NDR_NBT_LIBS) \ $(KEYUTILS_LIBS) \ $(KRB5_LIBS) \ + $(SELINUX_LIBS) \ libsss_ldap_common.la \ libsss_krb5_common.la \ libipa_hbac.la \ -- cgit