Explicitly specify PROGSUFFIX when compiling final binary (#3918)
Resolves #3906
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user