From b42bf2a7740fcb60e745af237b8333413b38a413 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Fri, 2 Apr 2021 12:58:12 -0400 Subject: [PATCH] configure: Don't use "-Wl,--no-undefined" in "sdl2-config --static-libs" Fixes #3788. --- configure | 2 +- configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index de31ebafc..b1a6c2429 100755 --- a/configure +++ b/configure @@ -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 \ diff --git a/configure.ac b/configure.ac index 16eedb0fa..e28996695 100644 --- a/configure.ac +++ b/configure.ac @@ -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" ;;