From d536626b186a50d226cedb1dca242ded4f0eb70d Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Mon, 27 Jul 2015 07:07:38 -0600 Subject: [PATCH] Set sssd lib location to /usr/lib64 on 64-bit RHEL/Centos. Bug #710 --- mkpkg | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mkpkg b/mkpkg index f949a1683..b9e41d80d 100755 --- a/mkpkg +++ b/mkpkg @@ -125,6 +125,10 @@ case "$osversion" in if [ $osrelease -ge 60 ]; then # RHEL 6 and above builds sudo with SSSD support configure_opts="${configure_opts}${configure_opts+$tab}--with-sssd" + if test "`getconf LONG_BIT`" = "64"; then + # SSSD backend needs to know where to find the sssd lib + configure_opts="${configure_opts}${configure_opts+$tab}--with-sssd-lib=/usr/lib64" + fi # RHEL 6 and above use /etc/sudo-ldap.conf if test "$flavor" = "ldap"; then configure_opts="${configure_opts}${configure_opts+$tab}--with-ldap -- 2.40.0