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:
parent
e2fb4ecd5c
commit
961f8a0f56
1 changed files with 1 additions and 0 deletions
1
tools/configure
vendored
1
tools/configure
vendored
|
|
@ -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}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue