update pure-darwin make-bootstrap-tools

This commit is contained in:
Jude Taylor 2015-10-23 10:05:10 -07:00
parent 10c0791142
commit 1ddc52a782

View File

@ -60,9 +60,10 @@ rec {
cp -d ${openssl}/lib/*.dylib $out/lib cp -d ${openssl}/lib/*.dylib $out/lib
cp -d ${gnugrep.pcre}/lib/libpcre*.dylib $out/lib cp -d ${gnugrep.pcre}/lib/libpcre*.dylib $out/lib
cp -d ${libiconv}/lib/libiconv*.dylib $out/lib cp -d ${libiconv}/lib/lib*.dylib $out/lib
cp -d ${gettext}/lib/libintl*.dylib $out/lib cp -d ${gettext}/lib/libintl*.dylib $out/lib
chmod +x $out/lib/libintl*.dylib chmod +x $out/lib/libintl*.dylib
cp -d ${ncurses}/lib/libncurses*.dylib $out/lib
# Copy what we need of clang # Copy what we need of clang
cp -d ${llvmPackages.clang-unwrapped}/bin/clang $out/bin cp -d ${llvmPackages.clang-unwrapped}/bin/clang $out/bin
@ -115,7 +116,7 @@ rec {
fi fi
done done
for i in $out/bin/* $out/lib/*.dylib $out/lib/clang/3.5.0/lib/darwin/*.dylib $out/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation; do for i in $out/bin/* $out/lib/*.dylib $out/lib/clang/*/lib/darwin/*.dylib $out/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation; do
if test -x $i -a ! -L $i; then if test -x $i -a ! -L $i; then
echo "Adding rpath to $i" echo "Adding rpath to $i"
rpathify $i rpathify $i
@ -123,7 +124,7 @@ rec {
done done
nuke-refs $out/lib/* nuke-refs $out/lib/*
nuke-refs $out/lib/clang/3.5.0/lib/darwin/* nuke-refs $out/lib/clang/*/lib/darwin/*
nuke-refs $out/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation nuke-refs $out/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
set -x set -x