diff --git a/plugins/input/kismet/build.py b/plugins/input/kismet/build.py index 5dfd68e01..50972d343 100644 --- a/plugins/input/kismet/build.py +++ b/plugins/input/kismet/build.py @@ -38,6 +38,9 @@ libraries.append('mapnik') libraries.append(env['ICU_LIB_NAME']) libraries.append('boost_thread%s' % env['BOOST_APPEND']) +if env['HAS_BOOST_SYSTEM']: + libraries.append('boost_system%s' % env['BOOST_APPEND']) + input_plugin = plugin_env.SharedLibrary('../kismet', source=kismet_src, SHLIBPREFIX='', SHLIBSUFFIX='.input', LIBS=libraries, LINKFLAGS=env['CUSTOM_LDFLAGS']) # if the plugin links to libmapnik ensure it is built first diff --git a/plugins/input/postgis/build.py b/plugins/input/postgis/build.py index 5b2996bbc..b1496a6b1 100644 --- a/plugins/input/postgis/build.py +++ b/plugins/input/postgis/build.py @@ -41,6 +41,9 @@ plugin_env['LIBS'].append(env['ICU_LIB_NAME']) if env['THREADING'] == 'multi': plugin_env['LIBS'].append('boost_thread%s' % env['BOOST_APPEND']) +if env['HAS_BOOST_SYSTEM']: + plugin_env['LIBS'].append('boost_system%s' % env['BOOST_APPEND']) + if env['RUNTIME_LINK'] == 'static': #cmd = 'pg_config --libs' #plugin_env.ParseConfig(cmd)