3
0
Fork 0
forked from mirrors/nixpkgs

make-bootstrap-tools.nix: Fix bzip2

Apparently our native bzip2 builds switched to using dynamic libraries at some point.
This commit is contained in:
Tuomas Tynkkynen 2017-04-13 16:28:09 +03:00
parent 09a9a472ee
commit 1f32d4b4eb
2 changed files with 3 additions and 2 deletions

View file

@ -221,8 +221,7 @@ rec {
# GCC has certain things built in statically. See
# pkgs/stdenv/linux/default.nix for the details.
cp -d ${isl}/lib/libisl*.so* $out/lib
# Also this is needed since bzip2 uses a custom build system
# for native builds but autoconf (via a patch) for cross builds
cp -d ${bzip2.out}/lib/libbz2.so* $out/lib
# Copy binutils.

View file

@ -122,6 +122,8 @@ rec {
cp -d ${zlib.out}/lib/libz.so* $out/lib
cp -d ${libelf}/lib/libelf.so* $out/lib
cp -d ${bzip2.out}/lib/libbz2.so* $out/lib
# Copy binutils.
for i in as ld ar ranlib nm strip readelf objdump; do
cp ${binutils.out}/bin/$i $out/bin