backend.native: add -fPIC for interop with :common:hash
to fix build on Linux
This commit is contained in:
@@ -41,6 +41,8 @@ kotlinNativeInterop {
|
|||||||
}
|
}
|
||||||
|
|
||||||
hash { // TODO: copy-pasted from ':common:compileHash'
|
hash { // TODO: copy-pasted from ':common:compileHash'
|
||||||
|
compilerOpts '-fPIC'
|
||||||
|
linkerOpts '-fPIC'
|
||||||
linker 'clang++'
|
linker 'clang++'
|
||||||
linkOutputs ':common:compileHash'
|
linkOutputs ':common:compileHash'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user