scons: solaris expects 64 bit python modules to be in a subdirectory called '64' that appears to not need an __init__.py
This commit is contained in:
parent
166e1b35a5
commit
23a77266ab
1 changed files with 8 additions and 1 deletions
|
@ -179,5 +179,12 @@ if env['HAS_CAIRO'] or env['HAS_PYCAIRO']:
|
|||
sources.insert(0,env2.SharedObject(cpp))
|
||||
|
||||
_mapnik = py_env.LoadableModule('mapnik/_mapnik', sources, LIBS=libraries, LDMODULEPREFIX='', LDMODULESUFFIX='.so',LINKFLAGS=linkflags)
|
||||
pymapniklib = env.Install(env['PYTHON_INSTALL_LOCATION'] + '/mapnik',_mapnik)
|
||||
|
||||
if env['PLATFORM'] == 'SunOS' and env['PYTHON_IS_64BIT']:
|
||||
# http://mail.python.org/pipermail/python-dev/2006-August/068528.html
|
||||
cxx_module_path = os.path.join(env['PYTHON_INSTALL_LOCATION'],'mapnik','64')
|
||||
else:
|
||||
cxx_module_path = os.path.join(env['PYTHON_INSTALL_LOCATION'],'mapnik')
|
||||
|
||||
pymapniklib = env.Install(cxx_module_path,_mapnik)
|
||||
env.Alias(target='install',source=pymapniklib)
|
||||
|
|
Loading…
Add table
Reference in a new issue