summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-10-29 21:25:46 +0100
committerGitHub <noreply@github.com>2018-10-29 21:25:46 +0100
commit4d9b8a98ba1bdd2bc7d80f4ab61061c07298fd15 (patch)
tree30800f17fcf1f229ce46a743320b5eb18177ba87 /SConstruct
parente647342140d8eb960b2a72d83b4b86e43aef4fc7 (diff)
parentfe93bb03fec293e3ef38c9b01dc0b10c857c1d21 (diff)
Merge pull request #23279 from marcelofg55/osx_server
Server platform works on OS X too
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct5
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"]: