libunwind: Fix lzma propagation
This commit is contained in:
parent
bbfac173ba
commit
b835d4bade
1 changed files with 6 additions and 0 deletions
|
@ -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 a new issue