Dynamic Linking with MUSL?

Almost all libraries are dynamic and linked dynamic to the other libraries and binaries.

I do not know that there is a global config flag, so that everything gets statically linked.

If there is some config option it will be package specific.

You can try to set -static in the custom CFLAGS/LDFLAGS. But i think this will throw at least some errors if you set it globally...

2 Likes