X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senfscons%2FBoostUnitTests.py;h=1e28824f68d946e7052c16f6b087b9b286c59031;hb=f2f5d59e83863f3b513950173baee1b6da2aee3c;hp=18442e3d4e9bbc4b11fddf0181e67c93723799fc;hpb=b7e2a1f7d0b8f4ee4d47030ebbc1316c72011ce9;p=senf.git diff --git a/senfscons/BoostUnitTests.py b/senfscons/BoostUnitTests.py index 18442e3..1e28824 100644 --- a/senfscons/BoostUnitTests.py +++ b/senfscons/BoostUnitTests.py @@ -33,9 +33,10 @@ def BoostUnitTests(env, target, objects, test_sources=None, LIBS = [], OBJECTS = test_sources = [ test_sources ] else: test_sources = [] - testEnv = env.Copy(**kw) - testEnv.Prepend(_LIBFLAGS = ' -Wl,-Bstatic -l$BOOSTTESTLIB -l$BOOSTFSLIB -Wl,-Bdynamic ') + testEnv = env.Clone(**kw) + testEnv.Prepend(_LIBFLAGS = ' -Wl,-Bstatic -l$BOOSTTESTLIB -Wl,-Bdynamic ') testEnv.Prepend(LIBS = LIBS) + testEnv.Append(LIBS = env['TEST_EXTRA_LIBS']) all_objects = [] if not objects: objects = []