Revert fix for bug 1392 because it breaks linking with mingw32
authorSam Lantinga <slouken@libsdl.org>
Mon, 21 Oct 2013 10:28:57 -0700
changeset 7876d6373384b5ce
parent 7875 4bb403bb0c06
child 7877 aa7e6130d6e9
Revert fix for bug 1392 because it breaks linking with mingw32
sdl2-config.in
sdl2.pc.in
     1.1 --- a/sdl2-config.in	Mon Oct 21 02:46:16 2013 -0700
     1.2 +++ b/sdl2-config.in	Mon Oct 21 10:28:57 2013 -0700
     1.3 @@ -45,7 +45,7 @@
     1.4        echo -I@includedir@/SDL2 @SDL_CFLAGS@
     1.5        ;;
     1.6  @ENABLE_SHARED_TRUE@    --libs)
     1.7 -@ENABLE_SHARED_TRUE@      echo -L@libdir@ @SDL_RLD_FLAGS@ -lSDL2
     1.8 +@ENABLE_SHARED_TRUE@      echo -L@libdir@ @SDL_RLD_FLAGS@ @SDL_LIBS@
     1.9  @ENABLE_SHARED_TRUE@      ;;
    1.10  @ENABLE_STATIC_TRUE@@ENABLE_SHARED_TRUE@    --static-libs)
    1.11  @ENABLE_STATIC_TRUE@@ENABLE_SHARED_FALSE@    --libs|--static-libs)
     2.1 --- a/sdl2.pc.in	Mon Oct 21 02:46:16 2013 -0700
     2.2 +++ b/sdl2.pc.in	Mon Oct 21 10:28:57 2013 -0700
     2.3 @@ -10,6 +10,6 @@
     2.4  Version: @SDL_VERSION@
     2.5  Requires:
     2.6  Conflicts:
     2.7 -Libs: -L${libdir} @SDL_RLD_FLAGS@ -lSDL2
     2.8 +Libs: -L${libdir} @SDL_RLD_FLAGS@ @SDL_LIBS@
     2.9  Libs.private: @SDL_STATIC_LIBS@
    2.10  Cflags: -I${includedir}/SDL2 @SDL_CFLAGS@