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:
Andreas Haas 2017-12-21 18:51:57 +01:00
parent 1fa9aac3e4
commit 63658fecfc
No known key found for this signature in database
GPG key ID: B5FFAE1B65FBD2E1

View file

@ -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"]