2021-01-21 17:56:16 +00:00
|
|
|
diff -up SDL2-2.0.14/sdl2-config.in.orig SDL2-2.0.14/sdl2-config.in
|
|
|
|
--- SDL2-2.0.14/sdl2-config.in.orig 2020-12-21 17:44:36.000000000 +0000
|
|
|
|
+++ SDL2-2.0.14/sdl2-config.in 2021-01-21 16:26:35.663960042 +0000
|
2020-10-14 19:49:39 +00:00
|
|
|
@@ -3,7 +3,6 @@
|
|
|
|
prefix=@prefix@
|
|
|
|
exec_prefix=@exec_prefix@
|
|
|
|
exec_prefix_set=no
|
|
|
|
-libdir=@libdir@
|
|
|
|
|
|
|
|
@ENABLE_STATIC_FALSE@usage="\
|
|
|
|
@ENABLE_STATIC_FALSE@Usage: $0 [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--cflags] [--libs]"
|
2021-01-21 17:56:16 +00:00
|
|
|
@@ -45,11 +44,11 @@ while test $# -gt 0; do
|
2020-10-14 19:49:39 +00:00
|
|
|
echo -I@includedir@/SDL2 @SDL_CFLAGS@
|
|
|
|
;;
|
|
|
|
@ENABLE_SHARED_TRUE@ --libs)
|
|
|
|
-@ENABLE_SHARED_TRUE@ echo -L@libdir@ @SDL_RLD_FLAGS@ @SDL_LIBS@
|
|
|
|
+@ENABLE_SHARED_TRUE@ echo @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)
|
2021-01-21 17:56:16 +00:00
|
|
|
-@ENABLE_STATIC_TRUE@ echo -L@libdir@ @SDL_LIBS@ @SDL_STATIC_LIBS@
|
|
|
|
+@ENABLE_STATIC_TRUE@ echo @SDL_LIBS@ @SDL_STATIC_LIBS@
|
2020-10-14 19:49:39 +00:00
|
|
|
@ENABLE_STATIC_TRUE@ ;;
|
|
|
|
*)
|
|
|
|
echo "${usage}" 1>&2
|