From e48456f568ac4a4dde0b17766b28eadc91daf7f2 Mon Sep 17 00:00:00 2001 From: Nathan Sidwell Date: Tue, 15 Dec 2020 11:29:44 -0800 Subject: [PATCH] libcody: Fix for dash Apparently 'var+=...' is not a dash thing. Fixed thusly. * config.m4: Avoid non-dash idiom * configure: Rebuilt. --- libcody/config.m4 | 3 ++- libcody/configure | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/libcody/config.m4 b/libcody/config.m4 index 364195a9f0b..0ae7b2665f0 100644 --- a/libcody/config.m4 +++ b/libcody/config.m4 @@ -35,7 +35,8 @@ if test "$tools" && test -d "$tools/lib" ; then if os=$(CXX -print-multi-os-directory 2>/dev/null) ; then toollib+="/${os}" fi - LDFLAGS+=" -L $toollib" + ## VAR+=... is not dashing + LDFLAGS="$LDFLAGS -L $toollib" unset toollib fi]) diff --git a/libcody/configure b/libcody/configure index 35fd4e9db7e..8f22dd78134 100755 --- a/libcody/configure +++ b/libcody/configure @@ -2632,7 +2632,8 @@ if test "$tools" && test -d "$tools/lib" ; then if os=$(CXX -print-multi-os-directory 2>/dev/null) ; then toollib+="/${os}" fi - LDFLAGS+=" -L $toollib" + ## VAR+=... is not dashing + LDFLAGS="$LDFLAGS -L $toollib" unset toollib fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking adding -Wl,--no-undefined to linker" >&5