sdl2-config.in
changeset 7876 d6373384b5ce
parent 7841 b5d893a07471
--- a/sdl2-config.in	Mon Oct 21 02:46:16 2013 -0700
+++ b/sdl2-config.in	Mon Oct 21 10:28:57 2013 -0700
@@ -45,7 +45,7 @@
       echo -I@includedir@/SDL2 @SDL_CFLAGS@
       ;;
 @ENABLE_SHARED_TRUE@    --libs)
-@ENABLE_SHARED_TRUE@      echo -L@libdir@ @SDL_RLD_FLAGS@ -lSDL2
+@ENABLE_SHARED_TRUE@      echo -L@libdir@ @SDL_RLD_FLAGS@ @SDL_LIBS@
 @ENABLE_SHARED_TRUE@      ;;
 @ENABLE_STATIC_TRUE@@ENABLE_SHARED_TRUE@    --static-libs)
 @ENABLE_STATIC_TRUE@@ENABLE_SHARED_FALSE@    --libs|--static-libs)