Build system: fix treatment of LDFLAGS when detecting slicot for MATLAB

Since the user-provided value will be also used at link time, so it makes sense
to add it here.
time-shift
Sébastien Villemot 2020-12-17 19:11:54 +01:00
parent 06e6e5935b
commit c3947dd94e
No known key found for this signature in database
GPG Key ID: 2CECE9350ECEBE4A
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ AC_DEFUN([AX_SLICOT],
AC_FC_FUNC(sb02od)
if test "$1" = matlab; then
LDFLAGS="$MATLAB_LDFLAGS_NOMAP $LDFLAGS_SLICOT"
LDFLAGS="$LDFLAGS $MATLAB_LDFLAGS_NOMAP $LDFLAGS_SLICOT"
case ${MATLAB_ARCH} in
glnxa64 | win64 | maci64)