summaryrefslogtreecommitdiffstats
path: root/src/engine
diff options
context:
space:
mode:
authorRussel Winder <russel@winder.org.uk>2017-06-06 18:21:55 (GMT)
committerRussel Winder <russel@winder.org.uk>2017-06-06 18:21:55 (GMT)
commit56eec3c90ca231cc7b50d6f60266f77917b3ea1e (patch)
tree6bf7b3d2ffc3bf772bef506a96110b9d41374c56 /src/engine
parentedf31b7f2dc4b46f3bafcdcfc0052be12c0c0064 (diff)
downloadSCons-56eec3c90ca231cc7b50d6f60266f77917b3ea1e.zip
SCons-56eec3c90ca231cc7b50d6f60266f77917b3ea1e.tar.gz
SCons-56eec3c90ca231cc7b50d6f60266f77917b3ea1e.tar.bz2
Update gdc tool and test now that it can deal wth shared object building.
Diffstat (limited to 'src/engine')
-rw-r--r--src/engine/SCons/Tool/gdc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/SCons/Tool/gdc.py b/src/engine/SCons/Tool/gdc.py
index 20903f7..fdfe867 100644
--- a/src/engine/SCons/Tool/gdc.py
+++ b/src/engine/SCons/Tool/gdc.py
@@ -98,7 +98,7 @@ def generate(env):
env['DLINKCOM'] = '$DLINK -o $TARGET $DLINKFLAGS $__RPATH $SOURCES $_LIBDIRFLAGS $_LIBFLAGS'
env['DSHLINK'] = '$DC'
- env['DSHLINKFLAGS'] = SCons.Util.CLVar('$DLINKFLAGS -shared')
+ env['DSHLINKFLAGS'] = SCons.Util.CLVar('$DLINKFLAGS -shared -shared-libphobos')
env['SHDLINKCOM'] = '$DLINK -o $TARGET $DSHLINKFLAGS $__DSHLIBVERSIONFLAGS $__RPATH $SOURCES $_LIBDIRFLAGS $_LIBFLAGS'
env['DLIB'] = 'lib' if env['PLATFORM'] == 'win32' else 'ar cr'