mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
libunwind: Fix lzma propagation
This commit is contained in:
parent
bbfac173ba
commit
b835d4bade
@ -21,6 +21,12 @@ stdenv.mkDerivation rec {
|
||||
mkdir -p "$out/lib"
|
||||
touch "$out/lib/libunwind-generic.so"
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
find $out -name \*.la | while read file; do
|
||||
sed -i 's,-llzma,${xz}/lib/liblzma.la,' $file
|
||||
done
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://www.nongnu.org/libunwind;
|
||||
|
Loading…
Reference in New Issue
Block a user