Applying patch for bug #2387 - dmd includes gphobos multiple times
authorbdbaddog <bdbaddog@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Thu, 9 Apr 2009 05:38:42 +0000 (05:38 +0000)
committerbdbaddog <bdbaddog@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Thu, 9 Apr 2009 05:38:42 +0000 (05:38 +0000)
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4086 fdb21ef1-2011-0410-befe-b5e4ea1792b1

src/engine/SCons/Tool/dmd.py

index 5aecfacaf6167aee56f7645c5506c5592d302596..4429d4a5d72a7b252e503023b70460c00c9ed72e 100644 (file)
@@ -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':