From b52d55927a7df0d77d7c3b2974c9032767a6af17 Mon Sep 17 00:00:00 2001 From: Marcelo Fernandez Date: Sun, 8 Apr 2018 13:00:54 -0300 Subject: [PATCH] On OS X append .osx.64 to the result_name var on SConstruct --- SConstruct | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/SConstruct b/SConstruct index d1e7880d..fdec6b75 100644 --- a/SConstruct +++ b/SConstruct @@ -70,6 +70,10 @@ elif target_platform == 'osx': if ARGUMENTS.get('use_llvm', 'no') == 'yes': env['CXX'] = 'clang++' + # Only 64-bits is supported for OS X + target_arch = '64' + result_name += '.osx.' + target_arch + env.Append(CCFLAGS = [ '-g','-O3', '-std=c++14', '-arch', 'x86_64' ]) env.Append(LINKFLAGS = [ '-arch', 'x86_64', '-framework', 'Cocoa', '-Wl,-undefined,dynamic_lookup' ])