]> granicus.if.org Git - linux-pam/commitdiff
build: use $host_cpu for lib64 directory handling [ticket#46]
authorThorsten Kukuk <kukuk@thkukuk.de>
Mon, 4 Apr 2016 09:33:11 +0000 (11:33 +0200)
committerThorsten Kukuk <kukuk@thkukuk.de>
Mon, 4 Apr 2016 09:33:11 +0000 (11:33 +0200)
* configure.ac: use $host_cpu for lib64 directory handling.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
configure.ac

index 20f6ba355e22ed0de8b29ec644cea693d0de9d0a..739390e774f50604ce601b5ad4cf43fceca75d48 100644 (file)
@@ -27,7 +27,7 @@ dnl If we use /usr as prefix, use /etc for config files
         fi
        if test ${libdir} = '${exec_prefix}/lib'
        then
-               case "`uname -m`" in
+               case "$host_cpu" in
                    x86_64|ppc64|s390x|sparc64)
                        libdir="/lib64" ;;
                    *)