Explicitly specify PROGSUFFIX when compiling final binary (#3918)

Resolves #3906
This commit is contained in:
Valerii Koval
2021-04-02 17:09:38 +03:00
committed by GitHub
parent 7e9956963a
commit 551bd3dbfe
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -75,7 +75,7 @@ def BuildProgram(env):
env.Append(_LIBFLAGS=" -Wl,--end-group")
program = env.Program(
os.path.join("$BUILD_DIR", env.subst("$PROGNAME")), env["PIOBUILDFILES"]
os.path.join("$BUILD_DIR", env.subst("$PROGNAME$PROGSUFFIX")), env["PIOBUILDFILES"]
)
env.Replace(PIOMAINPROG=program)