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 | brent_env = env.Copy() |
3 | |
4 | srcs = Split(""" |
5 | brent.c |
6 | """) |
7 | |
8 | brent_env.Append(LIBPATH=['#']) |
9 | brent_env.Append(LIBS=['ascend']) |
10 | |
11 | lib = brent_env.SharedLibrary("brent",srcs |
12 | ,SHLIBSUFFIX = env['EXTLIB_SUFFIX'] |
13 | ,SHLIBPREFIX = env['EXTLIB_PREFIX'] |
14 | ) |
15 | |
16 | env['extfns'] += [lib] |
17 | |
18 | # vim: set syntax=python: |
john.pye@anu.edu.au | ViewVC Help |
Powered by ViewVC 1.1.22 |