pkg-config supports --static, and QEMU uses it.
Please try whether
pkg-config --libs --static sdl
gives the correct flags with your distribution. If not, that distribution is buggy.
pkg-config supports --static, and QEMU uses it.
Please try whether
pkg-config --libs --static sdl
gives the correct flags with your distribution. If not, that distribution is buggy.