From: tho Date: Tue, 29 Mar 2011 14:09:23 +0000 (+0000) Subject: site_scons: added option to overwrite TEST_EXTRA_LIBS in BoostUnitTest target X-Git-Url: http://g0dil.de/git?a=commitdiff_plain;h=7ee689fe38d66aa3a0004d55e8708750d35adc0b;p=senf.git site_scons: added option to overwrite TEST_EXTRA_LIBS in BoostUnitTest target git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@1774 270642c3-0616-0410-b53a-bc976706d245 --- diff --git a/site_scons/site_tools/Boost.py b/site_scons/site_tools/Boost.py index 7e20e2b..d040b78 100644 --- a/site_scons/site_tools/Boost.py +++ b/site_scons/site_tools/Boost.py @@ -88,7 +88,7 @@ def BoostUnitTest(env, target=None, source=None, **kw): stampnode = target.dir.File('.' + target.name + '.stamp') bin = env.Program(binnode, source, - LIBS = env['LIBS'] + [ '$TEST_EXTRA_LIBS' ], + LIBS = env['LIBS'] + kw.pop('TEST_EXTRA_LIBS', ['$TEST_EXTRA_LIBS']), _LIBFLAGS = ' -Wl,-Bstatic -l$BOOSTTESTLIB -Wl,-Bdynamic ' + env['_LIBFLAGS'], **kw)