I want to compile a statically linked version of gedit using the upstream meson based package.

I've got the sources matching my current Debian 11 system and can do a build no problem.

What I want to do is statically link the gedit executable. I see the non-static executable is very small and there is a large library file libgedit, and using ldd I see the executable wants to call many system libs.

Target is a single statically linked executable which incorporates libgedit as well as parts of all the system libraries they call.

Meson doesn't obviously seem to support static linked executables.

Any suggestions?

Jeremy

Reply via email to