From 5162132236b1cbdd8a4f284ca102bea1e4320fd8 Mon Sep 17 00:00:00 2001 From: Marcelo Fernandez Date: Thu, 1 Mar 2018 20:30:55 -0300 Subject: [PATCH] Fix compile problem on OS X --- SConstruct | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SConstruct b/SConstruct index b251d432..18fb5709 100644 --- a/SConstruct +++ b/SConstruct @@ -66,7 +66,7 @@ elif target_platform == 'windows': env.Append(CCFLAGS = [ '-g', '-O3', '-std=c++14', '-Wwrite-strings' ]) env.Append(LINKFLAGS = [ '--static', '-Wl,--no-undefined', '-static-libgcc', '-static-libstdc++' ]) -elif platform == 'osx': +elif target_platform == 'osx': if ARGUMENTS.get('use_llvm', 'no') == 'yes': env['CXX'] = 'clang++'