Control: retitle -1 libsdl1.2-dev: static linking not supported Control: severity -1 wishlist Control: notforwarded -1 Control: tags -1 = wontfix
On Sun, 13 Jan 2013 at 16:01:52 +0100, Schrober wrote: > Compiling a program statically with `sdl-config --static-libs ...` will > result > in missing symbols libsdl1.2-dev is now provided by sdl12-compat, which doesn't ship a static library, so this is not going to be fixable. It wouldn't make much sense to link programs to sdl12-compat statically, because sdl12-compat works by dlopen()ing SDL2, so there is dynamic linking happening there whether you want it to or not. In newer programs that have been ported to SDL2, linking to a static SDL2 with CMake is possible (and there's an automated test for it), but fully-static linking is impossible because some of SDL2's dependencies (notably libasound) do not provide a static library at all. smcv