From a0ec7c0906dfa9b0651fcaea52c12c1acb936562 Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Sat, 29 Jun 2024 17:50:40 +0300 Subject: [PATCH] libtool.m4: fix appending of -no_fixup_chains to allow_undefined_flag. --- acinclude/libtool.m4 | 5 +++-- configure | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/acinclude/libtool.m4 b/acinclude/libtool.m4 index 6280c7f974..12209e3ead 100644 --- a/acinclude/libtool.m4 +++ b/acinclude/libtool.m4 @@ -1087,9 +1087,10 @@ _LT_EOF 10.[[012]],*|,*powerpc*-darwin[[5-8]]*) _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; *) - _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' if test yes = "$lt_cv_support_no_fixup_chains"; then - _lt_dar_allow_undefined='$_lt_dar_allow_undefined $wl-no_fixup_chains' + _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup $wl-no_fixup_chains' + else + _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' fi ;; esac diff --git a/configure b/configure index f464aa2351..945174e6e3 100755 --- a/configure +++ b/configure @@ -8215,9 +8215,10 @@ printf "%s\n" "$lt_cv_ld_force_load" >&6; } 10.[012],*|,*powerpc*-darwin[5-8]*) _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; *) - _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' if test yes = "$lt_cv_support_no_fixup_chains"; then - _lt_dar_allow_undefined='$_lt_dar_allow_undefined $wl-no_fixup_chains' + _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup $wl-no_fixup_chains' + else + _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' fi ;; esac