2020-09-28 09:27:49 +08:00
|
|
|
diff --git a/configure.ac b/configure.ac
|
2020-12-29 03:26:40 +08:00
|
|
|
index 90ea1ea..58cfe88 100644
|
2020-09-28 09:27:49 +08:00
|
|
|
--- a/configure.ac
|
|
|
|
+++ b/configure.ac
|
2020-12-29 03:26:40 +08:00
|
|
|
@@ -354,25 +354,25 @@ if test "x$ABI" != xstandard ; then
|
2020-09-28 09:27:49 +08:00
|
|
|
else
|
|
|
|
# The dash builtin pwd tries to be "helpful" and remember
|
|
|
|
# symlink names. Use -P option, and hope it's portable enough.
|
|
|
|
- test -d /usr/lib${ABI} \
|
|
|
|
- && (cd /usr/lib${ABI} && pwd -P | grep >/dev/null "/lib${ABI}"'$') \
|
|
|
|
- && libdir='${exec_prefix}/'"lib${ABI}"
|
|
|
|
+ test -d /usr/lib \
|
|
|
|
+ && (cd /usr/lib && pwd -P | grep >/dev/null "/lib"'$') \
|
|
|
|
+ && libdir='${exec_prefix}/'"lib"
|
|
|
|
fi
|
|
|
|
;;
|
|
|
|
# On freebsd, it seems 32-bit libraries are in lib32,
|
|
|
|
# and 64-bit in lib. Don't know about "kfreebsd", does
|
|
|
|
# it follow the Linux fhs conventions?
|
|
|
|
*:freebsd*:32)
|
|
|
|
- libdir='${exec_prefix}/lib32'
|
|
|
|
+ libdir='${exec_prefix}/lib'
|
|
|
|
;;
|
|
|
|
*:freebsd*:64)
|
|
|
|
libdir='${exec_prefix}/lib'
|
|
|
|
;;
|
|
|
|
*:irix*:32)
|
|
|
|
- libdir='${exec_prefix}/lib32'
|
|
|
|
+ libdir='${exec_prefix}/lib'
|
|
|
|
;;
|
|
|
|
*:irix*:64)
|
|
|
|
- libdir='${exec_prefix}/lib64'
|
|
|
|
+ libdir='${exec_prefix}/lib'
|
|
|
|
;;
|
|
|
|
*)
|
|
|
|
AC_MSG_WARN([Don't know where to install $ABI-bit libraries on this system.]); dnl '
|