digitalmars.D.learn - Dub cmdline overrides?
- Arjan (7/7) Nov 07 2020 Is there a cmdline switch to DUB to override certain dub.sdl
- James Blachly (5/12) Nov 07 2020 I don't think so, as I have also looked for that very feature in the pas...
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.
Nov 07 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...)
Nov 07 2020