mirror of https://github.com/encounter/SDL.git
configure: Don't use "-Wl,--no-undefined" in "sdl2-config --static-libs"
Fixes #3788.
This commit is contained in:
parent
2689e844e0
commit
b42bf2a774
|
@ -16380,7 +16380,7 @@ _ACEOF
|
||||||
if ac_fn_c_try_link "$LINENO"; then :
|
if ac_fn_c_try_link "$LINENO"; then :
|
||||||
|
|
||||||
have_no_undefined=yes
|
have_no_undefined=yes
|
||||||
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,--no-undefined"
|
BUILD_LDFLAGS="$BUILD_LDFLAGS -Wl,--no-undefined"
|
||||||
|
|
||||||
fi
|
fi
|
||||||
rm -f core conftest.err conftest.$ac_objext \
|
rm -f core conftest.err conftest.$ac_objext \
|
||||||
|
|
|
@ -244,7 +244,7 @@ case "$host" in
|
||||||
],[
|
],[
|
||||||
],[
|
],[
|
||||||
have_no_undefined=yes
|
have_no_undefined=yes
|
||||||
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,--no-undefined"
|
BUILD_LDFLAGS="$BUILD_LDFLAGS -Wl,--no-undefined"
|
||||||
])
|
])
|
||||||
LDFLAGS="$save_LDFLAGS"
|
LDFLAGS="$save_LDFLAGS"
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in New Issue