pkgsStatic.libunwind: fix build, fixes #81198
This commit is contained in:
parent
ce9bec83da
commit
68058c66ac
1 changed files with 5 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchurl, autoreconfHook, xz }:
|
||||
{ stdenv, lib, fetchurl, autoreconfHook, xz }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libunwind";
|
||||
|
@ -11,6 +11,10 @@ stdenv.mkDerivation rec {
|
|||
|
||||
patches = [ ./backtrace-only-with-glibc.patch ];
|
||||
|
||||
postPatch = lib.optionalString stdenv.hostPlatform.isMusl ''
|
||||
substituteInPlace configure.ac --replace "-lgcc_s" "-lgcc_eh"
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
|
Loading…
Reference in a new issue