From 284669b3228370138fe814a97fddadbc93587510 Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Wed, 14 Jul 2010 01:26:30 +0000 Subject: [PATCH] scons: make sure to build a .os file instead of .o --- bindings/python/SConscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/python/SConscript b/bindings/python/SConscript index 4605a135a..b59b0f103 100644 --- a/bindings/python/SConscript +++ b/bindings/python/SConscript @@ -143,7 +143,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')) _mapnik = env.LoadableModule('mapnik/_mapnik2', sources, LIBS=libraries, LDMODULEPREFIX='', LDMODULESUFFIX='.so', CPPPATH=headers,LINKFLAGS=linkflags) pymapniklib = env.Install(env['PYTHON_INSTALL_LOCATION'] + '/mapnik2',_mapnik)