premake/contrib/libzip/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

22 lines
370 B
Lua

project "zip-lib"
language "C"
kind "StaticLib"
includedirs "include"
defines { "N_FSEEKO" }
warnings "off"
files
{
"**.h",
"**.c"
}
filter "system:linux or bsd or solaris"
defines { "HAVE_SSIZE_T_LIBZIP", "HAVE_CONFIG_H" }
filter "system:windows"
defines { "_WINDOWS" }
filter "system:macosx"
defines { "HAVE_SSIZE_T_LIBZIP" }