Skip to content

Commit

Permalink
ncurses: if enableStatic is set, don't remove the "*.a" files!
Browse files Browse the repository at this point in the history
  • Loading branch information
dtzWill committed Jul 13, 2018
1 parent 5457be8 commit 54a663a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/development/libraries/ncurses/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ stdenv.mkDerivation rec {
moveToOutput "bin/infotocap" "$out"
'';

preFixup = lib.optionalString (!hostPlatform.isCygwin) ''
preFixup = lib.optionalString (!hostPlatform.isCygwin && !enableStatic) ''
rm "$out"/lib/*.a
'';

Expand Down

0 comments on commit 54a663a

Please sign in to comment.