841a842,846
> # Python requires the flags in LINKFORSHARED to be added the
> # linker flags when linking with a statically with Python. Failing
> # to do so can lead to errors from the Python's dynamic module
> # loader at start up.
> main.Append(LINKFLAGS=[py_getvar('LINKFORSHARED').split()])