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