Changed visibility of symbols in ctmethods.mex on Linux

This allows Cantera to use BLAS/LAPACK functions included in the mex
file instead of the incompatible ones that are part of Matlab.
This commit is contained in:
Ray Speth 2012-04-11 17:37:33 +00:00
parent a1641019dd
commit abf2e04084
2 changed files with 9 additions and 0 deletions

View file

@ -46,6 +46,9 @@ elif os.name == 'posix':
else:
matlab_libs = pjoin(localenv['matlab_path'], 'bin', 'glnx86')
linkflags.extend(['-Wl,--no-undefined',
'-Wl,--version-script,src/matlab/mexFunction.map'])
mexSuffix = '.mex%s%i' % (mexPlatform, localenv['OS_BITS'])
localenv.Append(CPPPATH=['#include', '#src', matlab_include],

View file

@ -0,0 +1,6 @@
MEX {
global:
mexFunction;
local:
*;
};