1
0
Fork 0
forked from len0rd/rockbox

configure: if we can't link SDL statically, drop -static from the cmdline

Fixes building windows simulator builds on Fedora systems

Change-Id: I1e17e8f2f395a0298fc9d3d7e03c621d23208221
This commit is contained in:
Solomon Peachy 2024-07-04 09:45:06 -04:00
parent e2fb4ecd5c
commit 961f8a0f56

1
tools/configure vendored
View file

@ -435,6 +435,7 @@ 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//`
fi
GCCOPTS="$GCCOPTS ${sdlccopts}"
LDOPTS="$LDOPTS ${sdlldopts}"