premake/contrib/lua/premake5.lua
Lauri Nurmi 755a7e6d66 Support successfully bootstrapping on Solaris (OpenIndiana).
Some support already existed, but not enough. Also the "linkoptions" provided was incompatible with the Solaris ld.
2018-04-26 09:44:17 +03:00

29 lines
413 B
Lua

project "lua-lib"
language "C"
kind "StaticLib"
warnings "off"
includedirs { "src" }
files
{
"**.h",
"**.c"
}
excludes
{
"src/lauxlib.c",
"src/lua.c",
"src/luac.c",
"src/print.c",
"**.lua",
"etc/*.c"
}
filter "system:linux or bsd or hurd or aix or solaris"
defines { "LUA_USE_POSIX", "LUA_USE_DLOPEN" }
filter "system:macosx"
defines { "LUA_USE_MACOSX" }