configure: Stray unquoted space in a sed expression

Should fix SDL builds where --static-libs are not present

Change-Id: I96056f3e4d9a4ae971ad2d9e792ba542478f331b
This commit is contained in:
Solomon Peachy 2024-07-04 10:38:49 -04:00
parent 5e13a1bb05
commit 3e9ca6ec8e

4
tools/configure vendored
View file

@ -435,7 +435,9 @@ simcc () {
else
echo "Your sdl-config does not know about static libs, falling back to shared library"
sdlldopts=$($sdl --libs)
LDOPTS=`echo $LDOPTS | sed -e s/ -static//`
# if [ "$win32crosscompile" = "yes" ] ; then
LDOPTS=`echo $LDOPTS | sed -e s/-static//`
# fi
fi
GCCOPTS="$GCCOPTS ${sdlccopts}"
LDOPTS="$LDOPTS ${sdlldopts}"