summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Tool/ldc.py
diff options
context:
space:
mode:
authorGary Oberbrunner <garyo@oberbrunner.com>2014-07-15 23:59:08 (GMT)
committerGary Oberbrunner <garyo@oberbrunner.com>2014-07-15 23:59:08 (GMT)
commit235e89d5f6f412c007a6cda4022730bd5d693b83 (patch)
treea1f6adbd7dd59d33ad01ca8419578561fba8fbb7 /src/engine/SCons/Tool/ldc.py
parent318ee47c833cfc53af622608b96dfaa79a9349b5 (diff)
parent2f2f54f3e743e6b81b768f392ea1f25fadf5fda9 (diff)
downloadSCons-235e89d5f6f412c007a6cda4022730bd5d693b83.zip
SCons-235e89d5f6f412c007a6cda4022730bd5d693b83.tar.gz
SCons-235e89d5f6f412c007a6cda4022730bd5d693b83.tar.bz2
Merged in dirkbaechle/scons (pull request #154, fix D tools)
Diffstat (limited to 'src/engine/SCons/Tool/ldc.py')
-rw-r--r--src/engine/SCons/Tool/ldc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/SCons/Tool/ldc.py b/src/engine/SCons/Tool/ldc.py
index ca873b5..c855586 100644
--- a/src/engine/SCons/Tool/ldc.py
+++ b/src/engine/SCons/Tool/ldc.py
@@ -117,7 +117,7 @@ def generate(env):
env['DLIB'] = 'lib' if env['PLATFORM'] == 'win32' else 'ar cr'
- env['DLIBCOM'] = '$DLIB $_DLIBFLAGS {} $TARGET $SOURCES $_DLIBFLAGS'.format('-c' if env['PLATFORM'] == 'win32' else '')
+ env['DLIBCOM'] = '$DLIB $_DLIBFLAGS {0}$TARGET $SOURCES $_DLIBFLAGS'.format('-c ' if env['PLATFORM'] == 'win32' else '')
#env['_DLIBFLAGS'] = '$( ${_concat(DLIBFLAGPREFIX, DLIBFLAGS, DLIBFLAGSUFFIX, __env__)} $)'