Skip to content
Snippets Groups Projects
Commit 69b9b7fc authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Build system: fix for MinGW-TDM 4.5

parent 28d30d9a
No related branches found
No related tags found
No related merge requests found
...@@ -62,7 +62,7 @@ case ${MATLAB_ARCH} in ...@@ -62,7 +62,7 @@ case ${MATLAB_ARCH} in
;; ;;
esac esac
MATLAB_LDFLAGS="-static-libgcc -shared \$(top_srcdir)/mex.def" MATLAB_LDFLAGS="-static-libgcc -shared \$(top_srcdir)/mex.def"
MATLAB_LIBS="$LIBLOC/libmex.lib $LIBLOC/libmx.lib $LIBLOC/libmwlapack.lib -lstdc++" MATLAB_LIBS="$LIBLOC/libmex.lib $LIBLOC/libmx.lib $LIBLOC/libmwlapack.lib"
# Starting from MATLAB 7.5, BLAS and LAPACK are in distinct libraries # Starting from MATLAB 7.5, BLAS and LAPACK are in distinct libraries
AX_COMPARE_VERSION([$MATLAB_VERSION], [ge], [7.5], [MATLAB_LIBS="${MATLAB_LIBS} $LIBLOC/libmwblas.lib"]) AX_COMPARE_VERSION([$MATLAB_VERSION], [ge], [7.5], [MATLAB_LIBS="${MATLAB_LIBS} $LIBLOC/libmwblas.lib"])
ax_mexopts_ok="yes" ax_mexopts_ok="yes"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment