scons: added BOOST_VARIANT workaround for karmic
[senf.git] / SConstruct
index 3b0099c..045c091 100644 (file)
@@ -133,6 +133,11 @@ env.SetDefault(
     FLAVOR            = '',
 )
 
+# ugly hack for ubuntu karmic 
+# ToDo: auto-configure alike support
+if os.path.exists('/usr/lib/libboost_regex-mt.so'):
+    env.Append( BOOST_VARIANT = '-mt' )
+
 # Set variables from command line
 senfutil.parseArguments(
     env,