From: bdbaddog Date: Thu, 9 Apr 2009 05:38:42 +0000 (+0000) Subject: Applying patch for bug #2387 - dmd includes gphobos multiple times X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=45ae64307f21538ad76b4debc2b0f94228847d83;p=scons.git Applying patch for bug #2387 - dmd includes gphobos multiple times git-svn-id: http://scons.tigris.org/svn/scons/trunk@4086 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- diff --git a/src/engine/SCons/Tool/dmd.py b/src/engine/SCons/Tool/dmd.py index 5aecfaca..4429d4a5 100644 --- a/src/engine/SCons/Tool/dmd.py +++ b/src/engine/SCons/Tool/dmd.py @@ -200,7 +200,7 @@ def generate(env): libs = env['LIBS'] except KeyError: libs = [] - if 'phobos' not in libs: + if 'phobos' not in libs and 'gphobos' not in libs: if dc is 'dmd': env.Append(LIBS = ['phobos']) elif dc is 'gdmd':