summaryrefslogtreecommitdiffstats
path: root/src/engine
diff options
context:
space:
mode:
authorRussel Winder <russel@winder.org.uk>2017-06-19 17:01:23 (GMT)
committerRussel Winder <russel@winder.org.uk>2017-06-19 17:01:23 (GMT)
commitcb59885a49857539795080884b037ca602cf5b87 (patch)
treec31c9967ac1b17444b7c06f759bbadd06fcaaf63 /src/engine
parent7ab48a48ae7828281f7f9b0b6017605cfe50f065 (diff)
downloadSCons-cb59885a49857539795080884b037ca602cf5b87.zip
SCons-cb59885a49857539795080884b037ca602cf5b87.tar.gz
SCons-cb59885a49857539795080884b037ca602cf5b87.tar.bz2
Remove deprecated exception to the shared object naming of Phobos on Fedora.
Diffstat (limited to 'src/engine')
-rw-r--r--src/engine/SCons/Tool/ldc.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/engine/SCons/Tool/ldc.py b/src/engine/SCons/Tool/ldc.py
index dfa2d70..8b551fc 100644
--- a/src/engine/SCons/Tool/ldc.py
+++ b/src/engine/SCons/Tool/ldc.py
@@ -105,12 +105,6 @@ def generate(env):
env['DSHLINK'] = '$DC'
env['DSHLINKFLAGS'] = SCons.Util.CLVar('$DLINKFLAGS -shared -defaultlib=phobos2-ldc')
- #### START DEPRECATION 2017-05-21
- # Hack for Fedora the packages of which use the wrong name :-(
- if os.path.exists('/usr/lib64/libphobos-ldc.so') or os.path.exists('/usr/lib32/libphobos-ldc.so') or os.path.exists('/usr/lib/libphobos-ldc.so'):
- 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['DLIBLINKPREFIX'] = '' if env['PLATFORM'] == 'win32' else '-L-l'