From 14fe9ad85c8c6b062d57657f6e842e6a2ea0c9fa Mon Sep 17 00:00:00 2001 From: William Deegan Date: Thu, 9 Apr 2009 05:38:42 +0000 Subject: Applying patch for bug #2387 - dmd includes gphobos multiple times --- src/engine/SCons/Tool/dmd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/SCons/Tool/dmd.py b/src/engine/SCons/Tool/dmd.py index 5aecfac..4429d4a 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': -- cgit v0.12