Compiling dynamic library but not its dependencies with specific dflags

Per Nordlöw per.nordlow at gmail.com
Sun Sep 18 08:24:27 UTC 2022


Given shared library `X` depending on other shared libraries 
`Ys`, is it possible, using dub, to use extra `dflags` `F` when 
building the sources of `X` only and not have those extra flags 
`F` be used when (re)compiling `Ys`. In my specific case those 
flags are `-fsanitize=address` and `-cov`.


More information about the Digitalmars-d-learn mailing list