From 63658fecfc7765a55f89f39ba8c14ddea83fd083 Mon Sep 17 00:00:00 2001 From: Andreas Haas Date: Thu, 21 Dec 2017 18:51:57 +0100 Subject: [PATCH] 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. --- SConstruct | 4 +--- 1 file changed, 1 insertion(+), 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"]