Sfoglia il codice sorgente

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.
Andreas Haas 7 anni fa
parent
commit
63658fecfc
1 ha cambiato i file con 1 aggiunte e 3 eliminazioni
  1. 1 3
      SConstruct

+ 1 - 3
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"]