3 ms·
The difference is that you can statically link GTK+, and it'll work. You can't statically link glibc, if you want to be able to resolve hostnames or users, beca
by JoshTriplett 10mo ago
The difference is that you can statically link GTK+, and it'll work. You can't statically link glibc, if you want to be able to resolve hostnames or users, because of NSS modules.
- viraptor 10mo agoStatic linking itself doesn't prevent modules. There's https://github.com/pikhq/musl-nscd https://github.com/pikhq/musl-nscd for example
- JoshTriplett 10mo agoNot inherently, but static linking to glibc will not get you there without substantial additional effort, and static linking to a non-glibc C library will by default get you an absence of NSS.
- account42 10mo agoYou statically linked GTK+ won't work with the users UI styles though and probably won't support everyone's input methods or accessibility tools.