Fix setting -shims flag in interop plugin (#2729)
This commit is contained in:
@@ -254,8 +254,8 @@ class NamedNativeInteropConfig implements Named {
|
||||
args '-header', it
|
||||
}
|
||||
|
||||
if (project.hasProperty('shims')) {
|
||||
args '-shims', project.ext.shims
|
||||
if (project.hasProperty('shims') && project.ext.shims) {
|
||||
args '-shims'
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
+1
-1
@@ -208,7 +208,7 @@ class IncrementalSpecification extends BaseKonanSpecification {
|
||||
"linkerOpts" | "'--help'"
|
||||
"includeDirs" | "'src'"
|
||||
"includeDirs.allHeaders" | "'src'"
|
||||
"extraOpts" | "'-shims', 'false'"
|
||||
"extraOpts" | "'-shims'"
|
||||
"noDefaultLibs" | "true"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user