scons: link bindings to rt on linux
This commit is contained in:
parent
2533e8137f
commit
0b58eea131
1 changed files with 3 additions and 0 deletions
|
@ -53,6 +53,9 @@ link_all_libs = env['LINKING'] == 'static' or env['RUNTIME_LINK'] == 'static' or
|
||||||
if link_all_libs:
|
if link_all_libs:
|
||||||
py_env.AppendUnique(LIBS=env['LIBMAPNIK_LIBS'])
|
py_env.AppendUnique(LIBS=env['LIBMAPNIK_LIBS'])
|
||||||
|
|
||||||
|
if env['RUNTIME_LINK'] == 'static' and env['PLATFORM'] == 'Linux':
|
||||||
|
py_env.AppendUnique(LIBS='rt')
|
||||||
|
|
||||||
# TODO - do solaris/fedora need direct linking too?
|
# TODO - do solaris/fedora need direct linking too?
|
||||||
if env['PLATFORM'] == 'Darwin':
|
if env['PLATFORM'] == 'Darwin':
|
||||||
##### Python linking on OS X is tricky ###
|
##### Python linking on OS X is tricky ###
|
||||||
|
|
Loading…
Reference in a new issue