Hi :wave: I'm using cinterop to link a static libr...
# kotlin-native
n
Hi 👋 I'm using cinterop to link a static library, built by another Gradle subproject. I've wired things up so that if I add a new API in headers, cinterop task runs again and I can see it in IDE. However when the actual
link*
task runs, it will not pick up the new
.a
file - it uses the old one so I get "undefined reference" for the new symbols. Does anyone know how to fix this? Maybe the lib is being cached by the compiler, I can see it's being included from a random folder /var/folders/c3/wpsp6hfd543bfkmkvjg52df00000gn/T/included6169368207513151226/ . I tried to add the lib file as a task input for
link*
, but it's useless because that task actually runs. The problem is the compiler not picking up the new binary.