This repository has been archived on 2022-12-23. You can view files and clone it, but cannot push or open issues or pull requests.
fuck-premake-old2/contrib/luashim/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

21 lines
345 B
Lua

project "luashim-lib"
language "C"
kind "StaticLib"
warnings "extra"
pic "on"
includedirs { "../lua/src" }
files
{
"*.c",
"*.h",
"*.lua"
}
filter "system:linux or bsd or hurd or aix or haiku"
defines { "LUA_USE_POSIX", "LUA_USE_DLOPEN" }
filter "system:macosx"
defines { "LUA_USE_MACOSX" }