hedgewars/LuaPas.pas
changeset 9208 acb2492288e5
parent 9205 abce6011f86c
child 9236 ddd675825672
--- a/hedgewars/LuaPas.pas	Wed Jun 12 09:49:46 2013 +0200
+++ b/hedgewars/LuaPas.pas	Wed Jun 12 11:17:54 2013 +0200
@@ -14,8 +14,11 @@
 uses uConsts;
 {.$DEFINE LUA_GETHOOK}
 
-{$INCLUDE "config.inc"}
-const LuaLibName = cLuaLibrary;
+const LuaLibName = {$IFDEF LUA_INTERNAL}'libhwlua'{$ELSE}'liblua'{$ENDIF};
+
+{$IFNDEF WIN32}
+    {$linklib lua}
+{$ENDIF}
 
 type
     size_t   = Cardinal;