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:
parent
d1a9348b91
commit
bafc8d0cfa
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user