Skip to content

Commit

Permalink
fix bad change from commit 7e71dcd
Browse files Browse the repository at this point in the history
  • Loading branch information
sezero committed Jan 7, 2025
1 parent 7e71dcd commit 6ab226b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Windows/SDL2/bin/sdl2-config
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
prefix=/opt/cross_sdl2
exec_prefix=${prefix}
exec_prefix_set=no
libdir=${exec_prefix}/lib
lib_suffix=

usage="\
Usage: $0 [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--cflags] [--lib-suffix=SUFFIX] [--libs]"

Expand Down Expand Up @@ -47,7 +45,7 @@ while test $# -gt 0; do
echo -I${prefix}/include -Dmain=SDL_main
;;
--libs)
echo -L${libdir}/lib${lib_suffix} -lmingw32 -lSDL2main -lSDL2 -mwindows
echo -L${exec_prefix}/lib${lib_suffix} -lmingw32 -lSDL2main -lSDL2 -mwindows
;;
*)
echo "${usage}" 1>&2
Expand Down

0 comments on commit 6ab226b

Please sign in to comment.