Dico

    Dico

    3 years ago
    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.
    egorand

    egorand

    3 years ago
    m

    msink

    3 years ago
    Strange, it works for me, for example in https://github.com/msink/kotlin-libui -
    linkerOpts
    from
    :libui
    applied in samples.
    Dico

    Dico

    3 years ago
    probably because you have
    staticLibraries = libui.a
    in your
    libui.def
    I'll try it and see if that helps. thanks