Verified Commit ac9d352a authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

use_dll under MATLAB: link only to libraries that are really needed

parent 176732ee
......@@ -2226,7 +2226,7 @@ ModelTree::compileDll(const string &basename, const string &static_or_dynamic, c
auto bin_dir = matlabroot / "bin" / arch;
flags << " -L " << bin_dir;
flags << " -fexceptions -DNDEBUG";
libs = "-lmex -lmx -lmat -lmwlapack -lmwblas";
libs = "-lmex -lmx";
if (mexext == "mexglx" || mexext == "mexa64")
{
// GNU/Linux
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment