prefix/winnt/profiles.bashrc: improve winnt helpers
authorMichael Haubenwallner <haubi@gentoo.org>
Wed, 24 Jan 2018 16:10:36 +0000 (17:10 +0100)
committerMichael Haubenwallner <haubi@gentoo.org>
Wed, 24 Jan 2018 16:22:45 +0000 (17:22 +0100)
commit22b59662d21039f8f3246d12a2ac0bbb93d35683
tree67ee27fdc97fe5b46ab208a361aec515986035d6
parent6b5a9babb79e46c7de715cb5fa3be499836525b1
prefix/winnt/profiles.bashrc: improve winnt helpers

With Gentoo Parity wrapping the Visual Studio compiler, build systems
unaware of Windows can create .so import libraries just fine.  But
Windows aware build systems do prefer .lib import libraries, so we do
create .lib -> .so symlinks, resolved by Gentoo Parity later on again.

Additionally, they don't know about the additional .dll to install.  So
we wrap the cp utility to also copy the dll when the library is copied.
profiles/prefix/windows/winnt/profile.bashrc