diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2024-07-04 09:45:06 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2024-07-04 09:48:02 -0400 |
commit | 961f8a0f56b13e4c03ad22367db3320592a2b5cc (patch) | |
tree | da0bbfcc8931a0c43e3bc72aff0b7db5368d728e | |
parent | e2fb4ecd5c6395ec6bf6524cc4a54ad878a15b13 (diff) | |
download | rockbox-961f8a0f56.tar.gz rockbox-961f8a0f56.zip |
configure: if we can't link SDL statically, drop -static from the cmdline
Fixes building windows simulator builds on Fedora systems
Change-Id: I1e17e8f2f395a0298fc9d3d7e03c621d23208221
-rwxr-xr-x | tools/configure | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/configure b/tools/configure index 35f4b6d107..b1f2308a3e 100755 --- a/tools/configure +++ b/tools/configure @@ -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}" |