Dub cmdline overrides?

James Blachly james.blachly at gmail.com
Sat Nov 7 15:22:30 UTC 2020


On 11/7/20 7:58 AM, Arjan wrote:
> Is there a cmdline switch to DUB to override certain dub.sdl settings 
> for a dependency? Like the addition or override to lib dirs or link-libs?
> 
> For example once and a while I run into linking issues with symbols not 
> found due to the `soname` being different on my system than specified in 
> some dependency dub.sdl. Or the lib path to the shared lib is different.
> 

I don't think so, as I have also looked for that very feature in the past.

Probably it is not supported in order to make builds more deterministic 
  the dubfile is a record of how the binary was built (kind of, since 
there are obviously multiple configurations...)


More information about the Digitalmars-d-learn mailing list