mirror of
https://github.com/yawut/SDL.git
synced 2026-10-02 05:06:46 -05:00
Fixed bug #531
The static libs should include all the other libraries the dynamic SDL library links with. sdl.pc should include these so "pkg-config sdl --libs --static" works --HG-- branch : SDL-1.2
This commit is contained in:
@@ -2749,7 +2749,7 @@ case "$ARCH" in
|
||||
SDL_STATIC_LIBS="\${libdir}/libSDLmain.a \${libdir}/libSDL.a $EXTRA_LDFLAGS"
|
||||
;;
|
||||
*)
|
||||
SDL_STATIC_LIBS="$SDL_LIBS"
|
||||
SDL_STATIC_LIBS="$SDL_LIBS $EXTRA_LDFLAGS"
|
||||
;;
|
||||
esac
|
||||
|
||||
|
||||
Reference in New Issue
Block a user