mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 06:00:33 +03:00
Merge pull request #121033 from Radvendii/libgnurx-static
libgnurx: output libgnurx.a when static
This commit is contained in:
commit
9716947ba6
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue