scons: make sure to build a .os file instead of .o
This commit is contained in:
parent
f187cb7a12
commit
a8b147156d
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ if env.get('SVN_REVISION'):
|
|||
sources.remove('mapnik_python.cpp')
|
||||
env2 = env.Clone();
|
||||
env2.Append(CCFLAGS='-DSVN_REVISION=%s' % env['SVN_REVISION'])
|
||||
sources.insert(0,env2.Object('mapnik_python.cpp'))
|
||||
sources.insert(0,env2.SharedObject('mapnik_python.cpp'))
|
||||
|
||||
# install the shared object beside the module directory
|
||||
_mapnik = env.LoadableModule('mapnik/_mapnik', sources, LIBS=libraries, LDMODULEPREFIX='', LDMODULESUFFIX='.so', CPPPATH=headers,LINKFLAGS=linkflags)
|
||||
|
|
Loading…
Add table
Reference in a new issue