summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThorsten Kukuk <kukuk@thkukuk.de>2016-04-04 11:33:11 +0200
committerThorsten Kukuk <kukuk@thkukuk.de>2016-04-04 11:33:11 +0200
commit4a1867dce6f60c2985271a64b70bc7fb702bbe0a (patch)
treeefe127ad905bd18039d0c743917785999b78f8d2
parentdf87fb69e44d024ce4a0a052c78b85d261e6c6a3 (diff)
build: use $host_cpu for lib64 directory handling [ticket#46]
* configure.ac: use $host_cpu for lib64 directory handling. Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 20f6ba35..739390e7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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" ;;
*)