Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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
  • Loading branch information
slouken committed Jan 1, 2008
1 parent f77e4c8 commit a523991
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion configure.in
Expand Up @@ -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

Expand Down
1 change: 1 addition & 0 deletions sdl.pc.in
Expand Up @@ -11,4 +11,5 @@ Version: @SDL_VERSION@
Requires:
Conflicts:
Libs: -L${libdir} @SDL_RLD_FLAGS@ @SDL_LIBS@
Libs.private: @SDL_STATIC_LIBS@
Cflags: -I${includedir}/SDL @SDL_CFLAGS@

0 comments on commit a523991

Please sign in to comment.