Build system: add NDEBUG flag under Windows for MEX files, for consistency with other platforms

time-shift
Sébastien Villemot 2010-08-18 16:01:16 +02:00
parent 0893e963cb
commit 375f65d946
1 changed files with 1 additions and 0 deletions

View File

@ -61,6 +61,7 @@ case ${MATLAB_ARCH} in
LIBLOC="$MATLAB/extern/lib/${MATLAB_ARCH}/microsoft"
;;
esac
MATLAB_DEFS="$MATLAB_DEFS -DNDEBUG"
MATLAB_LDFLAGS="-static-libgcc -shared \$(top_srcdir)/mex.def"
MATLAB_LIBS="$LIBLOC/libmex.lib $LIBLOC/libmx.lib $LIBLOC/libmwlapack.lib"
# Starting from MATLAB 7.5, BLAS and LAPACK are in distinct libraries