Merged fix for bug #531 from SDL 1.2 revision 3511
authorSam Lantinga <slouken@libsdl.org>
Tue, 01 Jan 2008 15:26:11 +0000
changeset 2293 824f6dee6648
parent 2292 4845eb8d4221
child 2294 386ebf50dd91
Merged fix for bug #531 from SDL 1.2 revision 3511
configure.in
sdl.pc.in
--- a/configure.in	Sun Dec 30 05:01:35 2007 +0000
+++ b/configure.in	Tue Jan 01 15:26:11 2008 +0000
@@ -2619,7 +2619,7 @@
     SDL_STATIC_LIBS="\${libdir}/libSDL.a $EXTRA_LDFLAGS"
     ;;
   *)
-    SDL_STATIC_LIBS="$SDL_LIBS"
+    SDL_STATIC_LIBS="$SDL_LIBS $EXTRA_LDFLAGS"
     ;;
 esac
 
--- a/sdl.pc.in	Sun Dec 30 05:01:35 2007 +0000
+++ b/sdl.pc.in	Tue Jan 01 15:26:11 2008 +0000
@@ -11,4 +11,5 @@
 Requires:
 Conflicts:
 Libs: -L${libdir} @SDL_RLD_FLAGS@ @SDL_LIBS@
+Libs.private: @SDL_STATIC_LIBS@
 Cflags: -I${includedir}/SDL @SDL_CFLAGS@