pkgsStatic.libunwind: fix build

authored by

Tobias Mayer and committed by
Alyssa Ross
51ca56f0 4f9fac0f

+1 -1
+1 -1
pkgs/development/libraries/libunwind/default.nix
··· 17 17 }) 18 18 ]; 19 19 20 - postPatch = if stdenv.cc.isClang then '' 20 + postPatch = if (stdenv.cc.isClang || stdenv.hostPlatform.isStatic) then '' 21 21 substituteInPlace configure.ac --replace "-lgcc_s" "" 22 22 '' else lib.optionalString stdenv.hostPlatform.isMusl '' 23 23 substituteInPlace configure.ac --replace "-lgcc_s" "-lgcc_eh"