Hello,

  In Debian/Ubuntu systems, the library is iblua5.1.so (not 
  liblua51.so), same goes for the include path (/usr/include/lua5.1/), I 
  am not sure if that is the same for other distros.

  Witold: if you haven't tested linking against Lua, please make try it, 
  if it doesn't work, the attached patch fixes it. (I just replaced 51 
  with 5.1 in configure files)

-- 
 ‎أحمد المحمودي (Ahmed El-Mahmoudy)
  Digital design engineer
 GPG KeyID: 0xEDDDA1B7
 GPG Fingerprint: 8206 A196 2084 7E6D 0DF8  B176 BC19 6A94 EDDD A1B7
Description: Fix suffix for Lua5.1
Author: أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmo...@sabily.org>
--- a/configure
+++ b/configure
@@ -9755,7 +9755,7 @@
 		withval="";
 	fi
 	for luadir in "$withval" "" /usr /usr/local; do
-		for suffix in "" 51; do
+		for suffix in "" 5.1; do
 			if test "$cf_result" = no && ( test -f "$luadir/include/lua.h" || \
 			   test -f "$luadir/include/lua$suffix/lua.h" ) ; then
 				LUA_LIBS="-L$luadir/lib -llua$suffix -lm"
--- a/configure.in
+++ b/configure.in
@@ -921,7 +921,7 @@
 		withval="";
 	fi
 	for luadir in "$withval" "" /usr /usr/local; do
-		for suffix in "" 51; do
+		for suffix in "" 5.1; do
 			if test "$cf_result" = no && ( test -f "$luadir/include/lua.h" || \
 			   test -f "$luadir/include/lua$suffix/lua.h" ) ; then
 				LUA_LIBS="-L$luadir/lib -llua$suffix -lm"
_______________________________________________
elinks-dev mailing list
elinks-dev@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-dev

Reply via email to