pkgsStatic.libunwind: fix build

main
Tobias Mayer 2 years ago committed by Alyssa Ross
parent 4f9fac0f31
commit 51ca56f0fe
  1. 2
      pkgs/development/libraries/libunwind/default.nix

@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
})
];
postPatch = if stdenv.cc.isClang then ''
postPatch = if (stdenv.cc.isClang || stdenv.hostPlatform.isStatic) then ''
substituteInPlace configure.ac --replace "-lgcc_s" ""
'' else lib.optionalString stdenv.hostPlatform.isMusl ''
substituteInPlace configure.ac --replace "-lgcc_s" "-lgcc_eh"

Loading…
Cancel
Save