Explicitly specify PROGSUFFIX when compiling final binary (#3918)

Resolves #3906
This commit is contained in:
Valerii Koval authored and GitHub committed 2021-04-02 17:09:38 +03:00
1 parent 7e9956963a
commit 551bd3dbfe
2 files changed
+2 -1

No files matched your search

+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)