Scons: Use module suffix only for final binary.
Only append the module suffixes to the resulting binary instead of all object files. That means we can keep most of our build artifacts when toggling modules like mono.
This commit is contained in:
parent
1fa9aac3e4
commit
63658fecfc
|
@ -411,9 +411,7 @@ if selected_platform in platform_list:
|
||||||
|
|
||||||
methods.update_version(env.module_version_string)
|
methods.update_version(env.module_version_string)
|
||||||
|
|
||||||
suffix += env.module_version_string
|
env["PROGSUFFIX"] = suffix + env.module_version_string + env["PROGSUFFIX"]
|
||||||
|
|
||||||
env["PROGSUFFIX"] = suffix + env["PROGSUFFIX"]
|
|
||||||
env["OBJSUFFIX"] = suffix + env["OBJSUFFIX"]
|
env["OBJSUFFIX"] = suffix + env["OBJSUFFIX"]
|
||||||
env["LIBSUFFIX"] = suffix + env["LIBSUFFIX"]
|
env["LIBSUFFIX"] = suffix + env["LIBSUFFIX"]
|
||||||
env["SHLIBSUFFIX"] = suffix + env["SHLIBSUFFIX"]
|
env["SHLIBSUFFIX"] = suffix + env["SHLIBSUFFIX"]
|
||||||
|
|
Loading…
Reference in New Issue