From af821244f18adb241f7f9c6c7f9bab8fd67e583f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien.villemot@ens.fr> Date: Wed, 9 Jun 2010 17:16:51 +0200 Subject: [PATCH] Build system: fix for MinGW-TDM 4.5 (cherry picked from commit 69b9b7fc84c9a8340571813fcbcc3185e37e2b2a) --- m4/ax_mexopts.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m4/ax_mexopts.m4 b/m4/ax_mexopts.m4 index c94836dc25..a4a1e93b88 100644 --- a/m4/ax_mexopts.m4 +++ b/m4/ax_mexopts.m4 @@ -62,7 +62,7 @@ case ${MATLAB_ARCH} in ;; esac 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 AX_COMPARE_VERSION([$MATLAB_VERSION], [ge], [7.5], [MATLAB_LIBS="${MATLAB_LIBS} $LIBLOC/libmwblas.lib"]) ax_mexopts_ok="yes" -- GitLab