From: Ozkan Sezer Date: Sat, 29 Jun 2024 10:23:52 +0000 (+0300) Subject: m4: '+=' is not universally supported X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e77adcea6ebc7337e56bbc0da9bd410ecc550744;p=thirdparty%2Flibtool.git m4: '+=' is not universally supported * m4/libtool.m4: Remove '+=' in variable assignment since it is not universally supported. --- 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