ldc2 linux -> windows cross-compile linker error
H. S. Teoh
hsteoh at qfbox.info
Sun Jul 27 15:11:42 UTC 2025
On Sun, Jul 27, 2025 at 09:08:44AM +0000, kinke via Digitalmars-d wrote:
> On Saturday, 26 July 2025 at 18:58:33 UTC, H. S. Teoh wrote:
> > OK, in that case the file in the tarball should be named
> > 'Bcrypt.lib' rather than 'bcrypt.lib', otherwise it breaks the
> > linker on case-sensitive systems.
>
> The 'convention' is to use lowercase for the Windows libs, as in
> https://github.com/dlang/dmd/blob/941545f298c6f081577568f32a4905aa40571d29/druntime/src/core/sys/windows/bcrypt.d#L13.
Well, I don't really care which way it is, as long as it's consistent
and doesn't break on case-sensitive systems. :-)
T
--
People who are more than casually interested in computers should have at least some idea of what the underlying hardware is like. Otherwise the programs they write will be pretty weird. -- D. Knuth
More information about the Digitalmars-d
mailing list