]> granicus.if.org Git - sudo/commitdiff
Set sssd lib location to /usr/lib64 on 64-bit RHEL/Centos.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 27 Jul 2015 13:07:38 +0000 (07:07 -0600)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 27 Jul 2015 13:07:38 +0000 (07:07 -0600)
Bug #710

mkpkg

diff --git a/mkpkg b/mkpkg
index f949a1683c22f65857504b2b27f66fd3e7377d2e..b9e41d80d01d308a99d36c72ae33561ce52a5c9e 100755 (executable)
--- 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