diff options
author | Russel Winder <russel@winder.org.uk> | 2014-12-22 18:18:40 (GMT) |
---|---|---|
committer | Russel Winder <russel@winder.org.uk> | 2014-12-22 18:18:40 (GMT) |
commit | 90247485ca647e1fb87e10216270eb8da01d37d7 (patch) | |
tree | 4a21c60901bc136a3cb73fa16eff88718980d3b2 | |
parent | bf68741be4a5f18536751459b4cea45cccffcb52 (diff) | |
download | SCons-90247485ca647e1fb87e10216270eb8da01d37d7.zip SCons-90247485ca647e1fb87e10216270eb8da01d37d7.tar.gz SCons-90247485ca647e1fb87e10216270eb8da01d37d7.tar.bz2 |
Cover all cases of badly named LDC phobos library, not just 64-bit.
-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 71f2668..ebef55d 100644 --- a/src/engine/SCons/Tool/ldc.py +++ b/src/engine/SCons/Tool/ldc.py @@ -103,7 +103,7 @@ def generate(env): env['DSHLINK'] = '$DC' env['DSHLINKFLAGS'] = SCons.Util.CLVar('$DLINKFLAGS -shared -defaultlib=phobos2-ldc') # Hack for Fedora the packages of which use the wrong name :-( - if os.path.exists('/usr/lib64/libphobos-ldc.so'): + 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') env['SHDLINKCOM'] = '$DLINK -of=$TARGET $DSHLINKFLAGS $__DRPATH $SOURCES $_DLIBDIRFLAGS $_DLIBFLAGS' |