On Thursday, 8 June 2017 at 14:27:53 UTC, Russel Winder wrote:
It seems I am on a bit of a roll getting changesets relating to
D support for SCons into an appropriate state so that they get
merged into the mainline SCons repository. So maybe now is a
time to get any "pet peeves" with D support in SCons fixed.
When I create a shared library I get an error message.
SharedLibrary('lib2', ['lib2.d'])
leads to
dmd -oflib2.so -shared -defaultlib=libphobos2.so
-L-soname=lib2.so lib2.os
Error: unrecognized file extension os
Apparently using the .os extension works for C but not with dmd.