summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRussel Winder <russel@winder.org.uk>2017-06-18 14:14:54 (GMT)
committerRussel Winder <russel@winder.org.uk>2017-06-18 14:14:54 (GMT)
commit9457abb8761928c02c68a1b923bbc16fda9bb2bd (patch)
treec8a55fbcbc01a09cc9e145db584d02edb60082ae
parentf57360b60c20eacb2b39485a3986a79a823a2e67 (diff)
downloadSCons-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.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 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 ''