On Thu, 15 Jan 2015 10:32:49 GMT, Sönke Ludwig wrote:

If you absolutely need to put it into the main project's dub.json, you can get access to pyd's directory using "libs": ["$PYD_PACKAGE_DIR/somelib.lib"].

$PYD_PACKAGE_DIR worked fine in pyd's dub.json, thanks.