diff options
author | Russel Winder <russel@winder.org.uk> | 2017-06-18 14:14:54 (GMT) |
---|---|---|
committer | Russel Winder <russel@winder.org.uk> | 2017-06-18 14:14:54 (GMT) |
commit | 9457abb8761928c02c68a1b923bbc16fda9bb2bd (patch) | |
tree | c8a55fbcbc01a09cc9e145db584d02edb60082ae | |
parent | f57360b60c20eacb2b39485a3986a79a823a2e67 (diff) | |
download | SCons-9457abb8761928c02c68a1b923bbc16fda9bb2bd.zip SCons-9457abb8761928c02c68a1b923bbc16fda9bb2bd.tar.gz SCons-9457abb8761928c02c68a1b923bbc16fda9bb2bd.tar.bz2 |
LDC does not automatically include the druntime library as dmd does.
-rw-r--r-- | src/engine/SCons/Tool/ldc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/SCons/Tool/ldc.py b/src/engine/SCons/Tool/ldc.py index 7e5d339..ecc3b9e 100644 --- a/src/engine/SCons/Tool/ldc.py +++ b/src/engine/SCons/Tool/ldc.py @@ -111,7 +111,7 @@ def generate(env): env['DSHLINKFLAGS'] = SCons.Util.CLVar('$DLINKFLAGS -shared -defaultlib=phobos-ldc') #### END DEPRECATION 2017-05-21 - env['SHDLINKCOM'] = '$DLINK -of=$TARGET $DSHLINKFLAGS $__DSHLIBVERSIONFLAGS $__DRPATH $SOURCES $_DLIBDIRFLAGS $_DLIBFLAGS' + env['SHDLINKCOM'] = '$DLINK -of=$TARGET $DSHLINKFLAGS $__DSHLIBVERSIONFLAGS $__DRPATH $SOURCES $_DLIBDIRFLAGS $_DLIBFLAGS -L-ldruntime-ldc' env['DLIBLINKPREFIX'] = '' if env['PLATFORM'] == 'win32' else '-L-l' env['DLIBLINKSUFFIX'] = '.lib' if env['PLATFORM'] == 'win32' else '' |