| 973 |
|
|
| 974 |
python_libpath = [] |
python_libpath = [] |
| 975 |
python_linkflags = [] |
python_linkflags = [] |
| 976 |
if cfig['LDLIBRARY']==cfig['LIBRARY']: |
if platform.system()=="Windows": |
| 977 |
sys.stdout.write("(static)") |
pass |
| 978 |
python_libpath += [cfig['LIBPL']] |
else: |
| 979 |
python_linkflags += cfig['LIBS'].split(' ') |
# checked on Linux and SunOS |
| 980 |
|
if cfig['LDLIBRARY']==cfig['LIBRARY']: |
| 981 |
|
sys.stdout.write("(static)") |
| 982 |
|
python_libpath += [cfig['LIBPL']] |
| 983 |
|
python_linkflags += cfig['LIBS'].split(' ') |
| 984 |
|
|
| 985 |
context.env.AppendUnique(LIBS=python_libs) |
context.env.AppendUnique(LIBS=python_libs) |
| 986 |
context.env.AppendUnique(LIBPATH=python_libpath) |
context.env.AppendUnique(LIBPATH=python_libpath) |