On Fri, 2 Feb 2018 11:49:08 +0100, Christian Köstlin wrote:

Does this also work for you when you add versions to libraries?
Is $PACKAGE_DIR always set to the package, that is just build?
e.g. an executable has a dependency to a libarary with a version.

Check the three variables at the top of the "Environment variables" section [1]. $<name>_PACKAGE_DIR should work.

[1] http://code.dlang.org/package-format?lang=sdl#environment-variables

/Jacob Carlborg