Commit 391684ac authored by Adam Plumb's avatar Adam Plumb
Browse files

Attempting to fix python lib64 issue on debian-based systems

parent 2374a2e8
......@@ -93,9 +93,25 @@ AC_DEFUN([AC_MULTILIB],
if test -d "$searchdir"; then
case "$searchdir" in
*/lib64/ | */lib64 ) libdirsuffix=64 ;;
/lib/x86_64-linux-gnu/ | /lib/x86_64-linux-gnu ) libdirsuffix=/x86_64-linux-gnu ;;
*) searchdir=`cd "$searchdir" && pwd`
case "$searchdir" in
*/lib64 ) libdirsuffix=64 ;;
/lib/x86_64-linux-gnu ) libdirsuffix=/x86_64-linux-gnu ;;
esac ;;
esac
fi
done
IFS="$save_IFS"
else
save_IFS="${IFS= }"; IFS=":"
for searchdir in $searchpath; do
if test -d "$searchdir"; then
case "$searchdir" in
/lib/i386-linux-gnu/ | /lib/x86_64-linux-gnu ) libdirsuffix=/i386-linux-gnu ;;
*) searchdir=`cd "$searchdir" && pwd`
case "$searchdir" in
/lib/i386-linux-gnu ) libdirsuffix=/i386-linux-gnu ;;
esac ;;
esac
fi
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment