mac build fix
This commit is contained in:
+30
-32
@@ -39,38 +39,36 @@ 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",
|
"-lLLVMSelectionDAG",
|
||||||
"-lLLVMSelectionDAG",
|
"-lLLVMAsmPrinter",
|
||||||
"-lLLVMAsmPrinter",
|
"-lLLVMX86Desc",
|
||||||
"-lLLVMX86Desc",
|
"-lLLVMMCDisassembler",
|
||||||
"-lLLVMMCDisassembler",
|
"-lLLVMX86Info",
|
||||||
"-lLLVMX86Info",
|
"-lLLVMX86AsmPrinter",
|
||||||
"-lLLVMX86AsmPrinter",
|
"-lLLVMX86Utils",
|
||||||
"-lLLVMX86Utils",
|
"-lLLVMInterpreter",
|
||||||
"-lLLVMInterpreter",
|
"-lLLVMCodeGen",
|
||||||
"-lLLVMCodeGen",
|
"-lLLVMScalarOpts",
|
||||||
"-lLLVMScalarOpts",
|
"-lLLVMInstCombine",
|
||||||
"-lLLVMInstCombine",
|
"-lLLVMInstrumentation",
|
||||||
"-lLLVMInstrumentation",
|
"-lLLVMProfileData",
|
||||||
"-lLLVMProfileData",
|
"-lLLVMTransformUtils",
|
||||||
"-lLLVMTransformUtils",
|
"-lLLVMBitWriter",
|
||||||
"-lLLVMBitWriter",
|
"-lLLVMExecutionEngine",
|
||||||
"-lLLVMExecutionEngine",
|
"-lLLVMTarget",
|
||||||
"-lLLVMTarget",
|
"-lLLVMAnalysis",
|
||||||
"-lLLVMAnalysis",
|
"-lLLVMRuntimeDyld",
|
||||||
"-lLLVMRuntimeDyld",
|
"-lLLVMObject",
|
||||||
"-lLLVMObject",
|
"-lLLVMMCParser",
|
||||||
"-lLLVMMCParser",
|
"-lLLVMBitReader",
|
||||||
"-lLLVMBitReader",
|
"-lLLVMMC",
|
||||||
"-lLLVMMC",
|
"-lLLVMCore",
|
||||||
"-lLLVMCore",
|
"-lLLVMSupport",
|
||||||
"-lLLVMSupport",
|
"-L$libffiDir/lib -lffi"
|
||||||
"-Wl,--no-whole-archive",
|
|
||||||
"-L$libffiDir/lib -lffi"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
hash { // TODO: copy-pasted from ':common:compileHash'
|
hash { // TODO: copy-pasted from ':common:compileHash'
|
||||||
|
|||||||
Reference in New Issue
Block a user