diff --git a/preprocessor/ModFile.cc b/preprocessor/ModFile.cc index b5c92cee86fc67f3085ef2ef0a58e4801af757e9..341d9b0329321b3a0cd0d50345a671a83e39d550 100644 --- a/preprocessor/ModFile.cc +++ b/preprocessor/ModFile.cc @@ -298,7 +298,7 @@ ModFile::writeOutputFiles(const string &basename, bool clear_all) const if (use_dll) mOutputFile << "if ~exist('OCTAVE_VERSION')" << endl << " if ispc" << endl - << " eval('mex -O LINKER=''echo EXPORTS > mex.def & echo mexFunction & echo Dynamic >> mex.def & gcc-3'' LDFLAGS=''-pthread -shared -Wl,--no-undefined'' " << basename << "_dynamic.c')" << endl // This command is enclosed in an eval(), because otherwise it will make Octave fail + << " eval('mex -O LINKER=''echo EXPORTS > mex.def & echo mexFunction >> mex.def & echo Dynamic >> mex.def & gcc-3'' LDFLAGS=''-pthread -shared -Wl,--no-undefined'' " << basename << "_dynamic.c')" << endl // This command is enclosed in an eval(), because otherwise it will make Octave fail << " else" << endl << " eval('mex -O LDFLAGS=''-pthread -shared -Wl,--no-undefined'' " << basename << "_dynamic.c')" << endl // This command is enclosed in an eval(), because otherwise it will make Octave fail << " end" << endl