From 6ef321d09cb0a518097dd286f8206f214ff8d22a Mon Sep 17 00:00:00 2001 From: george <george@ac1d8469-bf42-47a9-8791-bf33cf982152> Date: Tue, 8 Dec 2009 18:45:33 +0000 Subject: [PATCH] added missing " >> mex.def" for mexFunction as Matlab could not find mexFunction any more git-svn-id: https://www.dynare.org/svn/dynare/trunk@3213 ac1d8469-bf42-47a9-8791-bf33cf982152 --- preprocessor/ModFile.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/preprocessor/ModFile.cc b/preprocessor/ModFile.cc index b5c92cee86..341d9b0329 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 -- GitLab