Parent Directory | Revision Log
New external library naming scheme on Windows: 'name_ascend.dll' instead of 'name.dll'. This applies to solvers as well as external methods, extpy, import handlers, etc.
1 | Import('env') |
2 | |
3 | lib = env.SharedLibrary("lrslv",["slv9a.c"] |
4 | ,LIBS = ['ascend'] |
5 | ,LIBPATH = ['#'] |
6 | ,SHLIBSUFFIX = env['EXTLIB_SUFFIX'] |
7 | ,SHLIBPREFIX = env['EXTLIB_PREFIX'] |
8 | ) |
9 | |
10 | env['extfns'] += [lib] |
11 | |
12 | env.Depends(lib,env['libascend']) |
13 | |
14 | |
15 | if env.get('CAN_INSTALL'): |
16 | env.InstallShared(Dir(env.subst("$INSTALL_ROOT$INSTALL_SOLVERS")),lib) |
17 | |
18 | # vim: set syntax=python: |
19 |
john.pye@anu.edu.au | ViewVC Help |
Powered by ViewVC 1.1.22 |