backend.native: add -fPIC for interop with :common:hash

to fix build on Linux
This commit is contained in:
Svyatoslav Scherbina
2016-10-13 18:12:21 +03:00
parent edc88c67da
commit 8c4f5c3cef
+2
View File
@@ -41,6 +41,8 @@ kotlinNativeInterop {
}
hash { // TODO: copy-pasted from ':common:compileHash'
compilerOpts '-fPIC'
linkerOpts '-fPIC'
linker 'clang++'
linkOutputs ':common:compileHash'