Sample Header Ad - 728x90

Build statically linked binary on gentoo

0 votes
1 answer
939 views
I'm looking for a way to build a fully statically linked binary on Gentoo. The build system is Meson. I tries --prefer-static and --default_library=static with no success. A possible obstacle is that some libraries (e.g. libevent and glib) don't have the static versions installed (unlike libc and a few other libraries). Should I rerun emerge with some special flags?
Asked by grep (131 rep)
Jul 28, 2023, 02:45 PM
Last activity: Dec 8, 2023, 01:25 AM