changeset 13927 | 3a0d09a31f5f |
parent 13511 | 36f3f77e9b1b |
child 14204 | 3c36a4e66c82 |
--- a/hedgewars/LuaPas.pas Mon Oct 15 19:34:11 2018 +0200 +++ b/hedgewars/LuaPas.pas Mon Oct 15 21:40:32 2018 +0300 @@ -14,7 +14,12 @@ uses uConsts; {.$DEFINE LUA_GETHOOK} -const LuaLibName = {$IFDEF LUA_INTERNAL}'libhwlua'{$ELSE}'liblua'{$ENDIF}; +const LuaLibName = +{$IFDEF LUA_INTERNAL} + {$IFDEF WIN32_VCPKG}'hwlua'{$ELSE}'libhwlua'{$ENDIF} +{$ELSE} + {$IFDEF WIN32_VCPKG}'lua'{$ELSE}'liblua'{$ENDIF} +{$ENDIF}; {$IFNDEF WIN32} {$linklib lua}