>From 4585b4b6dea6066dfb841ae522087f5cafae7947 Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik Date: Wed, 12 Feb 2014 21:17:20 +0100 Subject: [PATCH] IPA: explicitly link libsss_ipa with selinux library 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. --- Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile.am b/Makefile.am index 9c155d68c7f452bb02a4da154992fa2fca6af273..8d9326865abf9d4390ecbce22b02597df0a8d613 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 \ -- 1.8.5.3