diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-10-29 21:25:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-29 21:25:46 +0100 |
commit | 4d9b8a98ba1bdd2bc7d80f4ab61061c07298fd15 (patch) | |
tree | 30800f17fcf1f229ce46a743320b5eb18177ba87 /SConstruct | |
parent | e647342140d8eb960b2a72d83b4b86e43aef4fc7 (diff) | |
parent | fe93bb03fec293e3ef38c9b01dc0b10c857c1d21 (diff) |
Merge pull request #23279 from marcelofg55/osx_server
Server platform works on OS X too
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct index 999021e49a..628aac42af 100644 --- a/SConstruct +++ b/SConstruct @@ -349,7 +349,10 @@ if selected_platform in platform_list: else: # always enable those errors env.Append(CCFLAGS=['-Werror=return-type']) - suffix = "." + selected_platform + if (hasattr(detect, 'get_program_suffix')): + suffix = "." + detect.get_program_suffix() + else: + suffix = "." + selected_platform if (env["target"] == "release"): if env["tools"]: |