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
1 changed files with 1 additions and 3 deletions
|
@ -411,9 +411,7 @@ if selected_platform in platform_list:
|
|||
|
||||
methods.update_version(env.module_version_string)
|
||||
|
||||
suffix += env.module_version_string
|
||||
|
||||
env["PROGSUFFIX"] = suffix + env["PROGSUFFIX"]
|
||||
env["PROGSUFFIX"] = suffix + env.module_version_string + env["PROGSUFFIX"]
|
||||
env["OBJSUFFIX"] = suffix + env["OBJSUFFIX"]
|
||||
env["LIBSUFFIX"] = suffix + env["LIBSUFFIX"]
|
||||
env["SHLIBSUFFIX"] = suffix + env["SHLIBSUFFIX"]
|
||||
|
|
Loading…
Reference in a new issue