--- a/hedgewars/LuaPas.pas Wed Mar 03 14:49:10 2010 +0000
+++ b/hedgewars/LuaPas.pas Wed Mar 03 15:04:39 2010 +0000
@@ -10,6 +10,7 @@
interface
{.$DEFINE LUA_GETHOOK}
+{$INCLUDE "config.inc"}
type
size_t = type Cardinal;
@@ -20,15 +21,7 @@
Plua_State = ^lua_State;
const
-{$IFDEF UNIX}
- {$IFDEF DARWIN}
- LuaLibName = 'lua';
- {$ELSE}
- LuaLibName = 'lua5.1.so';
- {$ENDIF}
-{$ELSE}
- LuaLibName = 'lua.dll';
-{$ENDIF}
+ LuaLibName = cLuaLibrary;
(*****************************************************************************)