Jurriaan Mous
11/24/2019, 12:39 PMmsink
11/24/2019, 1:08 PM.a
, .so
is shared library.
If you really want static - https://github.com/msink/kotlin-libui/blob/40349d6f6e2a32b12064eb4385907aa476626bb3/libui/build.gradle.kts#L59Paul Idstein
11/24/2019, 3:02 PMstaticLibraries
and libraryPaths
the found static library in the given path will be bundled into your klib.Jurriaan Mous
11/24/2019, 3:21 PMJurriaan Mous
11/24/2019, 3:23 PMmsink
11/24/2019, 5:39 PMlibraryPaths
cannot be used if your path is relative - https://github.com/JetBrains/kotlin-native/issues/2314Paul Idstein
11/24/2019, 5:47 PMmsink
11/24/2019, 5:54 PMPaul Idstein
11/24/2019, 7:08 PMstaticLibraries
inside def file and only inject the lookup path via gradle. Ultimately, you‘re right you‘re solution does exactly what the describe documentation states is happening.Jurriaan Mous
11/25/2019, 7:39 AM