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
parent
06e6e5935b
commit
c3947dd94e
|
@ -43,7 +43,7 @@ AC_DEFUN([AX_SLICOT],
|
||||||
AC_FC_FUNC(sb02od)
|
AC_FC_FUNC(sb02od)
|
||||||
|
|
||||||
if test "$1" = matlab; then
|
if test "$1" = matlab; then
|
||||||
LDFLAGS="$MATLAB_LDFLAGS_NOMAP $LDFLAGS_SLICOT"
|
LDFLAGS="$LDFLAGS $MATLAB_LDFLAGS_NOMAP $LDFLAGS_SLICOT"
|
||||||
|
|
||||||
case ${MATLAB_ARCH} in
|
case ${MATLAB_ARCH} in
|
||||||
glnxa64 | win64 | maci64)
|
glnxa64 | win64 | maci64)
|
||||||
|
|
Loading…
Reference in New Issue