--- a/hedgewars/LuaPas.pas Mon Jun 17 22:54:17 2013 +0200
+++ b/hedgewars/LuaPas.pas Mon Jun 17 23:10:45 2013 +0200
@@ -14,6 +14,12 @@
uses uConsts;
{.$DEFINE LUA_GETHOOK}
+const LuaLibName = {$IFDEF LUA_INTERNAL}'libhwlua'{$ELSE}'liblua'{$ENDIF};
+
+{$IFNDEF WIN32}
+ {$linklib lua}
+{$ENDIF}
+
type
{$IFNDEF PAS2C}
size_t = Cardinal;
@@ -24,9 +30,6 @@
lua_State = record end;
Plua_State = ^lua_State;
-{$DEFINE LuaLibName:= cLuaLibrary}
-
-
(*****************************************************************************)
(* luaconfig.h *)
(*****************************************************************************)