Am 22.06.2016 um 11:51 schrieb gleb:
Sönke Ludwig wrote:

I'm pleased to announce the release of the first
stable version of the
DUB package manager. Stable in this case means that


That's great! But...

Is "DFLAGS="" dub build" still
the only way to build dynamically linked binaries?
What about standard options to build/link against

Thank You!

Do you mean building a shared library, or linking against the shared version of Phobos? The former case should automatically add -defaultlib, if targetType is set to "dynamicLibrary" in the package recipe. In the latter case, it has to be specified dynamically. Using DFLAGS is a possibility, or putting it in the "dflags" field of the recipe.

Reply via email to