I am currently developing an Android/iOS app that will use some older non platfrom specific libs written in C++ and exposed with extern C for usage in cinterop.
I have created the .klib and it runs just fine when compiled as .kexe. The problem is that i can not find the way how to include this .klib in Kotlin multipartform mobile project. I would want it to be accessible from commonMain so i could add some additional logic and bussines stuff above it.
I went trough posts like this:
But i cant get to import my “custom” lib in commonMain in any way. It is plain C code no system or platform specific calls.
Is this possible? What am I missing?