libsdl-1.2.15-sdl-config.patch 664 B

12345678910111213141516
  1. --- sdl-config.in.orig
  2. +++ sdl-config.in
  3. @@ -44,7 +44,12 @@
  4. echo -I@includedir@/SDL @SDL_CFLAGS@
  5. ;;
  6. @ENABLE_SHARED_TRUE@ --libs)
  7. -@ENABLE_SHARED_TRUE@ echo -L@libdir@ @SDL_RLD_FLAGS@ @SDL_LIBS@
  8. +@ENABLE_SHARED_TRUE@ if test x"${prefix}" != x"/usr" ; then
  9. +@ENABLE_SHARED_TRUE@ libdirs="-L@libdir@"
  10. +@ENABLE_SHARED_TRUE@ else
  11. +@ENABLE_SHARED_TRUE@ libdirs=""
  12. +@ENABLE_SHARED_TRUE@ fi
  13. +@ENABLE_SHARED_TRUE@ echo $libdirs @SDL_RLD_FLAGS@ @SDL_LIBS@
  14. @ENABLE_SHARED_TRUE@ ;;
  15. @ENABLE_STATIC_TRUE@@ENABLE_SHARED_TRUE@ --static-libs)
  16. @ENABLE_STATIC_TRUE@@ENABLE_SHARED_FALSE@ --libs|--static-libs)