scons: no direct linking to python on platforms other than darwin
This commit is contained in:
parent
8e708a8160
commit
d73d72d509
1 changed files with 3 additions and 0 deletions
|
@ -94,6 +94,9 @@ if env['PLATFORM'] == 'Darwin':
|
||||||
else:
|
else:
|
||||||
# TODO - do we need to pass -L/?
|
# TODO - do we need to pass -L/?
|
||||||
python_link_flag = '-lpython%s' % env['PYTHON_VERSION']
|
python_link_flag = '-lpython%s' % env['PYTHON_VERSION']
|
||||||
|
else:
|
||||||
|
# all other platforms we don't directly link python
|
||||||
|
python_link_flag = ''
|
||||||
|
|
||||||
if env['CUSTOM_LDFLAGS']:
|
if env['CUSTOM_LDFLAGS']:
|
||||||
linkflags = '%s %s' % (env['CUSTOM_LDFLAGS'], python_link_flag)
|
linkflags = '%s %s' % (env['CUSTOM_LDFLAGS'], python_link_flag)
|
||||||
|
|
Loading…
Reference in a new issue