cctools: Don't always bring in headers

- Give cctools a dev output for the headers

 - Update Libsystem to grab the headers from that dev output

 - Don't include the headers in Darwin binutils, just as GNU Binutils no
   longer does.
This commit is contained in:
John Ericson
2017-11-16 17:45:41 -05:00
parent 32a6838bc6
commit 652c2beda9
3 changed files with 3 additions and 5 deletions
@@ -37,10 +37,6 @@ stdenv.mkDerivation {
ln -sf "${cctools}/bin/$i" "$out/bin/$i"
done
for i in ${cctools}/include/*; do
ln -s "$i" "$out/include/$(basename $i)"
done
# FIXME: this will give us incorrect man pages for bits of cctools
ln -s ${binutils-raw.out}/share $out/share