Windows psapi, linker issues
kinke
noone at nowhere.com
Wed Dec 26 23:36:43 UTC 2018
On Wednesday, 26 December 2018 at 18:51:48 UTC, M wrote:
> Any reason why libraries referenced by druntime are not added
> to linker flags automatically?
Well, auto-magic needs a `pragma(lib, "psapi")`, which is missing
in that file (but I guess appropriate), just like this reference:
https://github.com/dlang/druntime/blob/master/src/core/sys/windows/wingdi.d#L13
So please consider opening an upstream (i.e., dlang) PR to
prevent similar hassle for other guys.
More information about the digitalmars-d-ldc
mailing list