From e77adcea6ebc7337e56bbc0da9bd410ecc550744 Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Sat, 29 Jun 2024 13:23:52 +0300 Subject: [PATCH] m4: '+=' is not universally supported * m4/libtool.m4: Remove '+=' in variable assignment since it is not universally supported. --- m4/libtool.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/m4/libtool.m4 b/m4/libtool.m4 index 381d4cb35..31f1be04b 100644 --- a/m4/libtool.m4 +++ b/m4/libtool.m4 @@ -1030,7 +1030,7 @@ m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[ AC_CACHE_CHECK([for -no_fixup_chains linker flag], [lt_cv_support_no_fixup_chains], [ save_LDFLAGS=$LDFLAGS - LDFLAGS+=" -Wl,-no_fixup_chains" + LDFLAGS="$LDFLAGS -Wl,-no_fixup_chains" AC_LINK_IFELSE( [AC_LANG_PROGRAM([],[])], lt_cv_support_no_fixup_chains=yes, @@ -1091,7 +1091,7 @@ _LT_EOF *) _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' if test yes = "$lt_cv_support_no_fixup_chains"; then - _lt_dar_allow_undefined+=' $wl-no_fixup_chains' + _lt_dar_allow_undefined='$_lt_dar_allow_undefined $wl-no_fixup_chains' fi ;; esac -- 2.47.3