2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-22 09:57:41 +00:00

Set sssd lib location to /usr/lib64 on 64-bit RHEL/Centos.

Bug #710
This commit is contained in:
Todd C. Miller 2015-07-27 07:07:38 -06:00
parent 01bfae5bad
commit d536626b18

4
mkpkg
View File

@ -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