소스 검색

Fix compile problem on OS X

Marcelo Fernandez 7 년 전
부모
커밋
5162132236
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      SConstruct

+ 1 - 1
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++'