1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 06:01:15 +00:00

libgnurx: output libgnurx.a when static

This commit is contained in:
Taeer Bar-Yam 2021-04-28 10:15:37 -04:00
parent 61a31ad3d6
commit c5e5ea90e1

View file

@ -10,6 +10,11 @@ in stdenv.mkDerivation rec {
sha256 = "0xjxcxgws3bblybw5zsp9a4naz2v5bs1k3mk8dw00ggc0vwbfivi";
};
# file looks for libgnurx.a when compiling statically
postInstall = lib.optionalString stdenv.hostPlatform.isStatic ''
ln -s $out/lib/libgnurx{.dll.a,.a}
'';
meta = {
platforms = lib.platforms.windows;
};