Merge remote-tracking branch 'upstream/master' into hardened-stdenv

This commit is contained in:
Robin Gloster
2016-04-18 13:00:40 +00:00
1369 changed files with 35810 additions and 10571 deletions

View File

@@ -20,6 +20,8 @@ stdenv.mkDerivation rec {
sed -i -e '/LIBLZMA/s:-lzma:-llzma:' configure
'';
outputs = [ "dev" "out" ];
propagatedBuildInputs = [ xz ];
preInstall = ''
@@ -29,7 +31,7 @@ stdenv.mkDerivation rec {
postInstall = ''
find $out -name \*.la | while read file; do
sed -i 's,-llzma,${xz}/lib/liblzma.la,' $file
sed -i 's,-llzma,${xz.out}/lib/liblzma.la,' $file
done
'';