On Wed, 30 Jul 2014 22:38:40 +0200, Sönke Ludwig wrote:

But generally shouldn't SDC automatically pass those libs to the
linker if they are required for linking?

they are required to link SDC itself not for the binarys it produces.
This preBuildCommand and than modifieng the dub.json is abit clumsy ...
I think I will extend dub to be able to add stuff form external sources to the flags.