Skip to content

Commit

Permalink
make-bootstrap-tools.nix: Fix bzip2
Browse files Browse the repository at this point in the history
Apparently our native bzip2 builds switched to using dynamic libraries at some point.
  • Loading branch information
dezgeg committed Apr 13, 2017
1 parent 09a9a47 commit 1f32d4b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 1 addition & 2 deletions pkgs/stdenv/linux/make-bootstrap-tools-cross.nix
Expand Up @@ -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.
Expand Down
2 changes: 2 additions & 0 deletions pkgs/stdenv/linux/make-bootstrap-tools.nix
Expand Up @@ -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
Expand Down

0 comments on commit 1f32d4b

Please sign in to comment.