OS X has no llvm-ar tool; use ar instead

This commit is contained in:
Araq
2017-11-21 01:45:03 +01:00
parent 1bbab827c4
commit 0e67fc7450

View File

@@ -95,7 +95,11 @@ compiler llvmGcc:
result.name = "llvm_gcc"
result.compilerExe = "llvm-gcc"
result.cppCompiler = "llvm-g++"
result.buildLib = "llvm-ar rcs $libfile $objfiles"
when defined(macosx):
# OS X has no 'llvm-ar' tool:
result.buildLib = "ar rcs $libfile $objfiles"
else:
result.buildLib = "llvm-ar rcs $libfile $objfiles"
# Clang (LLVM) C/C++ Compiler
compiler clang: