libcody: Fix for dash

Apparently 'var+=...' is not a dash thing.  Fixed thusly.

	* config.m4: Avoid non-dash idiom
	* configure: Rebuilt.
This commit is contained in:
Nathan Sidwell 2020-12-15 11:29:44 -08:00
parent 433703843b
commit e48456f568
2 changed files with 4 additions and 2 deletions

View File

@ -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])

3
libcody/configure vendored
View File

@ -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