https://kotlinlang.org logo
Title
b

badlogic

10/28/2017, 7:22 AM
i tried searching for answer to this but failed to find info: can on generate a shared library out of KN code yet? and if not, how would i approach implementing that?
o

olonho

10/28/2017, 1:09 PM
it’s not that bad, actually, Android build produces shared objects, problem is couple compiler switches and different TLS policy. However, as you said, it doesn’t work out of the box on-non Android platforms at the moment.
b

badlogic

10/28/2017, 2:16 PM
how high are the chances of getting a PR merged that enables shared libs on non-Android platforms?
or would it make more sense to wait for the core team to tackle that?
o

olonho

10/28/2017, 6:12 PM
What target is most interesting for your purposes?
b

badlogic

10/28/2017, 7:32 PM
all the targets really :) to integrate KN with Godot, I need to be able to produce shared libs
minimum would be desktop targets
o

olonho

10/29/2017, 7:27 PM
we will look on that after KotlinConf