fix build: (mac and linux)
common fix of build: add to link flags -LlibffiDir -lffi llvm.def: os specific remove from ldflags -lffi, it shoould appear after -LlibffiDir...
This commit is contained in:
@@ -39,7 +39,7 @@ kotlinNativeInterop {
|
||||
llvm {
|
||||
defFile 'llvm.def'
|
||||
compilerOpts "-I$llvmDir/include"
|
||||
linkerOpts "-L$llvmDir/lib"
|
||||
linkerOpts "-L$llvmDir/lib -L$libffiDir/lib -lffi"
|
||||
}
|
||||
|
||||
hash { // TODO: copy-pasted from ':common:compileHash'
|
||||
|
||||
Reference in New Issue
Block a user