X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=site_scons%2Fsenfutil.py;h=275ea1df42fc468f9fe9b8e81ca5a247df1321eb;hb=8871644fd9655c9e62384f6f39ce7c0c6c8dcf30;hp=c9baf1d258680d29b4f04e2b3a1d377eefc12aaa;hpb=8ee45e1b4f088807b601c96eba6a0627ffd10c2a;p=senf.git diff --git a/site_scons/senfutil.py b/site_scons/senfutil.py index c9baf1d..275ea1d 100644 --- a/site_scons/senfutil.py +++ b/site_scons/senfutil.py @@ -169,6 +169,11 @@ def DefaultOptions(env): LINKFLAGS_normal = [ '-Wl,-S' ], LINKFLAGS_debug = [ '-g' ], ) + # 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' ) + def Glob(env, exclude=[], subdirs=[]): testSources = env.Glob("*.test.cc", strings=True) @@ -258,7 +263,8 @@ def Doxygen(env, doxyheader=None, doxyfooter=None, doxycss=None, mydoxyfile=Fals 'tagfiles' : '$TAGFILES', 'output_dir' : 'doc', 'html_dir' : 'html', - 'html' : 'YES' }, + 'html' : 'YES', + 'DOXYGEN' : '$DOXYGEN' }, TAGFILES = tagfiles, DOCLIBDIR = libdir, DOXYGENCOM = "$DOCLIBDIR/doxygen.sh $DOXYOPTS $SOURCE")