aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/Lua/ULua.pas
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/Lua/ULua.pas6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/Lua/ULua.pas b/src/lib/Lua/ULua.pas
index f0396bfe..1de48a3c 100644
--- a/src/lib/Lua/ULua.pas
+++ b/src/lib/Lua/ULua.pas
@@ -15,7 +15,8 @@ interface
{$IFDEF UNIX}
uses
- dl;
+ dl,
+ UConfig;
{$ENDIF}
{$DEFINE LUA51}
@@ -37,8 +38,7 @@ const
LuaDLL = 'liblua.5.1.dylib';
{$linklib liblua.5.1}
{$ELSE}
- LuaDLL51 = 'lua5.1.so';
- LuaDLL = 'lua.so';
+ LuaDLL = lua_lib_name;
{$ENDIF}
{$ENDIF}
{$IFDEF MACOS}