Blame SOURCES/multilib.patch

b346a5
diff --git a/sdl2-config.in b/sdl2-config.in
b346a5
index f6eca7668..93460f7ae 100644
b346a5
--- a/sdl2-config.in
b346a5
+++ b/sdl2-config.in
b346a5
@@ -7,7 +7,6 @@ bindir=$(cd -P -- "$(dirname -- "$0")" && printf '%s\n' "$(pwd -P)")
b346a5
 prefix=$(cd -P -- "$bindir/@bin_prefix_relpath@" && printf '%s\n' "$(pwd -P)")
310ebd
 exec_prefix=@exec_prefix@
310ebd
 exec_prefix_set=no
310ebd
-libdir=@libdir@
310ebd
 
310ebd
 @ENABLE_STATIC_FALSE@usage="\
310ebd
 @ENABLE_STATIC_FALSE@Usage: $0 [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--cflags] [--libs]"
b346a5
@@ -49,12 +48,11 @@ while test $# -gt 0; do
310ebd
       echo -I@includedir@/SDL2 @SDL_CFLAGS@
310ebd
       ;;
310ebd
 @ENABLE_SHARED_TRUE@    --libs)
310ebd
-@ENABLE_SHARED_TRUE@      echo -L@libdir@ @SDL_RLD_FLAGS@ @SDL_LIBS@
310ebd
+@ENABLE_SHARED_TRUE@      echo @SDL_RLD_FLAGS@ @SDL_LIBS@
310ebd
 @ENABLE_SHARED_TRUE@      ;;
310ebd
 @ENABLE_STATIC_TRUE@@ENABLE_SHARED_TRUE@    --static-libs)
310ebd
 @ENABLE_STATIC_TRUE@@ENABLE_SHARED_FALSE@    --libs|--static-libs)
b346a5
-@ENABLE_STATIC_TRUE@      sdl_static_libs=$(echo "@SDL_LIBS@ @SDL_STATIC_LIBS@" | sed -E "s#-lSDL2[ $]#$libdir/libSDL2.a #g")
b346a5
-@ENABLE_STATIC_TRUE@      echo -L@libdir@ $sdl_static_libs
310ebd
+@ENABLE_STATIC_TRUE@      echo @SDL_LIBS@ @SDL_STATIC_LIBS@
310ebd
 @ENABLE_STATIC_TRUE@      ;;
310ebd
     *)
310ebd
       echo "${usage}" 1>&2