4 ms·
GTK can be statically linked. Example executable: https://github.com/nh2/static-haskell-nix/releases/tag/c-static-gtk3-apps-button-example-2020-11-23 https://
by nh2 5y ago
GTK can be statically linked.
Example executable:
https://github.com/nh2/static-haskell-nix/releases/tag/c-static-gtk3-apps-button-example-2020-11-23 https://github.com/nh2/static-haskell-nix/releases/tag/c-sta...
It lost this ability temporarily when switching to Meson, but I fixed it in GTK3 and GTK4. But I just checked and apparently it is broken again:
https://gitlab.gnome.org/GNOME/gtk/-/issues/3774#note_1097469 https://gitlab.gnome.org/GNOME/gtk/-/issues/3774#note_109746...
- PaulDavisThe1st 5y agoOh, that's right. There's some option to build all modules as static libs or include them in the main .a ... sorry, I forgot about that. Did GTK3 or GTK4 ever become relocatable on Linux?
- nh2 5y agoWell, looks like you just turned right: https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/3519#note_1099460 https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/3519#not...