Commit 8d067e01 authored by Sam Lantinga's avatar Sam Lantinga

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
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%402699
parent 26060a74
...@@ -2749,7 +2749,7 @@ case "$ARCH" in ...@@ -2749,7 +2749,7 @@ case "$ARCH" in
SDL_STATIC_LIBS="\${libdir}/libSDLmain.a \${libdir}/libSDL.a $EXTRA_LDFLAGS" SDL_STATIC_LIBS="\${libdir}/libSDLmain.a \${libdir}/libSDL.a $EXTRA_LDFLAGS"
;; ;;
*) *)
SDL_STATIC_LIBS="$SDL_LIBS" SDL_STATIC_LIBS="$SDL_LIBS $EXTRA_LDFLAGS"
;; ;;
esac esac
......
...@@ -11,4 +11,5 @@ Version: @SDL_VERSION@ ...@@ -11,4 +11,5 @@ Version: @SDL_VERSION@
Requires: Requires:
Conflicts: Conflicts:
Libs: -L${libdir} @SDL_RLD_FLAGS@ @SDL_LIBS@ Libs: -L${libdir} @SDL_RLD_FLAGS@ @SDL_LIBS@
Libs.private: @SDL_STATIC_LIBS@
Cflags: -I${includedir}/SDL @SDL_CFLAGS@ Cflags: -I${includedir}/SDL @SDL_CFLAGS@
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment