From: Todd C. Miller Date: Mon, 27 Jul 2015 13:07:38 +0000 (-0600) Subject: Set sssd lib location to /usr/lib64 on 64-bit RHEL/Centos. X-Git-Tag: SUDO_1_8_15^2~104 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d536626b186a50d226cedb1dca242ded4f0eb70d;p=sudo Set sssd lib location to /usr/lib64 on 64-bit RHEL/Centos. Bug #710 --- 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