mac build fix

This commit is contained in:
Vasily Levchenko
2016-10-26 22:46:05 +03:00
parent e721a4e19d
commit c5a140bccc
+1 -3
View File
@@ -39,8 +39,7 @@ kotlinNativeInterop {
llvm { llvm {
defFile 'llvm.def' defFile 'llvm.def'
compilerOpts "-I$llvmDir/include" compilerOpts "-I$llvmDir/include"
linkerOpts "-L$llvmDir/lib -lc++ ", linkerOpts "-L$llvmDir/lib", "-lc++",
"-Wl,--whole-archive",
"-lLLVMX86Disassembler", "-lLLVMX86Disassembler",
"-lLLVMX86AsmParser", "-lLLVMX86AsmParser",
"-lLLVMX86CodeGen", "-lLLVMX86CodeGen",
@@ -69,7 +68,6 @@ kotlinNativeInterop {
"-lLLVMMC", "-lLLVMMC",
"-lLLVMCore", "-lLLVMCore",
"-lLLVMSupport", "-lLLVMSupport",
"-Wl,--no-whole-archive",
"-L$libffiDir/lib -lffi" "-L$libffiDir/lib -lffi"
} }