scons: don't link agg if runtiming linking is static

This commit is contained in:
Dane Springmeyer 2011-08-13 03:25:07 +00:00
parent cfe49fcaf6
commit 2922a0db02

View file

@ -70,7 +70,7 @@ if env['PLATFORM'] in ('Darwin','SunOS'):
lib_env['LIBS'].append('boost_system%s' % env['BOOST_APPEND'])
if not env['LINKING'] == 'static':
if not env['RUNTIME_LINK'] == 'static':
if env['INTERNAL_LIBAGG']:
lib_env['LIBS'].insert(0, 'agg')
else: