1
0
forked from 0ad/0ad

lib code requires a macro to be set, otherwise it thinks it's being used in a DLL (rebuild workspace required)

This was SVN commit r5953.
This commit is contained in:
janwas 2008-05-13 19:34:16 +00:00
parent d1a9348b91
commit bafc8d0cfa

View File

@ -87,6 +87,10 @@ function package_set_build_flags()
package.config["Release"].buildflags = { "no-runtime-checks", "optimize-speed" }
package.config["Release"].defines = { "NDEBUG" }
-- required for the lowlevel library. must be set from all packages that use it, otherwise it assumes it is
-- being used as a DLL (which is currently not the case in 0ad)
tinsert(package.defines, "LIB_STATIC_LINK")
-- various platform-specific build flags
if OS == "windows" then