configure: Don't use "-Wl,--no-undefined" in "sdl2-config --static-libs"
Fixes #3788.
This commit is contained in:
2 files changed
+2
-2
No files matched your search
@@ -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 \
|
||||
|
||||
+1
-1
@@ -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"
|
||||
;;
|
||||
|
||||
Reference in new issue
Block a user