https://kotlinlang.org logo
d

Dico

11/15/2018, 8:53 PM
I think I found a bug in the gradle multiplatform plugin. It's related to compiling for native targets. When you have project A that depends on project B, and project B has a cinterop library, the
linkerOpts
from its configuration are not included when the target for project A is linked.
e

egorand

11/15/2018, 8:59 PM
d

Dico

11/15/2018, 9:18 PM
probably because you have
staticLibraries = libui.a
in your
libui.def
I'll try it and see if that helps. thanks