From 6f070994b57ef1a6a8d4d364a4b3c472cca9ddf5 Mon Sep 17 00:00:00 2001 From: Ivailo Monev Date: Thu, 12 Mar 2015 15:20:46 +0000 Subject: [PATCH] add /lib and /lib64 to the locations lookup for Lua (issue #7637) --- configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 56314d9d51..2c29b9f01b 100755 --- a/configure +++ b/configure @@ -3,7 +3,7 @@ os=`uname` if [ "$os" == 'Linux' ]; then - locations=(/usr/lib /usr/lib64 /usr/lib/i386-linux-gnu /usr/lib/x86_64-linux-gnu /usr/local/lib /opt/lib) + locations=(/lib /lib64 /usr/lib /usr/lib64 /usr/lib/i386-linux-gnu /usr/lib/x86_64-linux-gnu /usr/local/lib /opt/lib) sonames=(liblua.so.5.1.5 liblua5.1.so.5.1 liblua5.1.so.0 liblua.so.5.1 liblua-5.1.so liblua5.1.so) for location in "${locations[@]}" ; do for soname in ${sonames[@]} ; do @@ -24,4 +24,4 @@ if [ "$os" == 'Linux' ]; then elif [ "$os" == 'Darwin' ]; then cp thirdparty/osx/* . echo "Copied Lua 5.1 and SDL2 libraries successfully." -fi \ No newline at end of file +fi