New comment by ericonr on void-packages repository https://github.com/void-linux/void-packages/pull/32453#issuecomment-897243444 Comment: I think linking it in statically is valid. Quite unfortunate that the flag wasn't enough, but it might be more pronounced on python than on gp, especially if the binary makes lots of calls to the library instead of a single call and now the rest runs inside the library.