configure: Don't use "-Wl,--no-undefined" in "sdl2-config --static-libs"

Fixes #3788.
This commit is contained in:
Ryan C. Gordon 2021-04-02 12:58:12 -04:00
parent 2689e844e0
commit b42bf2a774
No known key found for this signature in database
GPG Key ID: FA148B892AB48044
2 changed files with 2 additions and 2 deletions

2
configure vendored
View File

@ -16380,7 +16380,7 @@ _ACEOF
if ac_fn_c_try_link "$LINENO"; then :
have_no_undefined=yes
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,--no-undefined"
BUILD_LDFLAGS="$BUILD_LDFLAGS -Wl,--no-undefined"
fi
rm -f core conftest.err conftest.$ac_objext \

View File

@ -244,7 +244,7 @@ case "$host" in
],[
],[
have_no_undefined=yes
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,--no-undefined"
BUILD_LDFLAGS="$BUILD_LDFLAGS -Wl,--no-undefined"
])
LDFLAGS="$save_LDFLAGS"
;;