premake/contrib/lua/premake5.lua
François Revol fd8bfef352 Fix Haiku support
- contrib/curl: use linux config for Haiku
Like svr4 we don't have SIOCGIFADDR.

- Haiku is POSIX enough

- Add libs for Haiku
Not tested yet

- contrib: fix Haiku bootstrap

- Fix os.getversion() for Haiku

- Fix bootstrap on Haiku
2019-10-01 00:48:56 +02:00

29 lines
422 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 or haiku"
defines { "LUA_USE_POSIX", "LUA_USE_DLOPEN" }
filter "system:macosx"
defines { "LUA_USE_MACOSX" }