4.1: changed mex LDFLAGS option for compiling *_dynamics.c to make the Dynamic function public.
This most likely makes it unusable for compilers other than gcc git-svn-id: https://www.dynare.org/svn/dynare/trunk@2632 ac1d8469-bf42-47a9-8791-bf33cf982152time-shift
parent
057e9b157a
commit
af69c4d6a5
|
@ -234,7 +234,7 @@ ModFile::writeOutputFiles(const string &basename, bool clear_all) const
|
|||
mOutputFile << "end" << endl;
|
||||
mOutputFile << "if exist('" << basename << "_dynamic.c')" << endl;
|
||||
mOutputFile << " clear " << basename << "_dynamic" << endl;
|
||||
mOutputFile << " mex -O " << basename << "_dynamic.c" << endl;
|
||||
mOutputFile << " mex -O LDFLAGS='-pthread -shared -Wl,--no-undefined' " << basename << "_dynamic.c" << endl;
|
||||
mOutputFile << "end" << endl;
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue