diff options
author | Andreas Haas <liu.gam3@gmail.com> | 2017-12-21 18:51:57 +0100 |
---|---|---|
committer | Andreas Haas <liu.gam3@gmail.com> | 2017-12-21 18:52:17 +0100 |
commit | 63658fecfc7765a55f89f39ba8c14ddea83fd083 (patch) | |
tree | 568fab382fd50a57f78540c9cd38310288dd95f7 | |
parent | 1fa9aac3e415f53a095e955c8a37000629d56dde (diff) |
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.
-rw-r--r-- | SConstruct | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/SConstruct b/SConstruct index 88cd1494f1..dbce94f296 100644 --- a/SConstruct +++ b/SConstruct @@ -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"] |