Not sure how stupid this question is, but how woul...
# kotlin-native
s
Not sure how stupid this question is, but how would I go about statically linking glibc for a K/N executable? Is there a way to do so that doesn't involve specifying all the glibc headers in a cinterop def?
d
I thought glibc was statically linked already.
Otherwise you can specify all the headers in gradle and use the compiler argument (or free args)
-include-binary
to include the static lib.
s
Nah, it's dynamically linked. I'll look into what you suggested, thanks.