make-bootstrap-tools: fix on darwin

A couple of things broke after my stdenv change.
This commit is contained in:
Dan Peebles 2016-08-14 16:20:33 -04:00
parent 948b7f23bb
commit 8f4bbdce99

View File

@ -27,7 +27,6 @@ rec {
# C standard library stuff
cp -d ${darwin.Libsystem}/lib/*.o $out/lib/
cp -d ${darwin.Libsystem}/lib/*.dylib $out/lib/
cp -d ${darwin.Libsystem}/lib/system/*.dylib $out/lib/
# Resolv is actually a link to another package, so let's copy it properly
rm $out/lib/libresolv.9.dylib
@ -91,7 +90,7 @@ rec {
cp -d ${xz.out}/lib/liblzma*.* $out/lib
# Copy binutils.
for i in as ld ar ranlib nm strip otool install_name_tool dsymutil; do
for i in as ld ar ranlib nm strip otool install_name_tool dsymutil lipo; do
cp ${darwin.cctools}/bin/$i $out/bin
done