Skip to content

Add the download command of the library that libdispatch depends #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions INSTALL
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,21 @@ OS X as a replacement for /usr/lib/system/libdispatch.dylib:
The following command lines create the configuration required to build
libdispatch for /usr/lib/system on OS X El Capitan:

cd /path/to/10.11.0
curl -LO http://www.opensource.apple.com/tarballs/libpthread/libpthread-137.1.1.tar.gz && \
tar xf libpthread-137.1.1.tar.gz
curl -LO http://www.opensource.apple.com/tarballs/libplatform/libplatform-73.1.1.tar.gz && \
tar xf libplatform-73.1.1.tar.gz
curl -LO http://www.opensource.apple.com/tarballs/libclosure/libclosure-65.tar.gz && \
tar xf libclosure-65.tar.gz
curl -LO http://www.opensource.apple.com/tarballs/xnu/xnu-3247.1.106.tar.gz && \
tar xf xnu-3247.1.106.tar.gz
curl -LO http://www.opensource.apple.com/tarballs/objc4/objc4-680.tar.gz && \
tar xf objc4-680.tar.gz
curl -LO http://www.opensource.apple.com/tarballs/libauto/libauto-186.tar.gz && \
tar xf libauto-186.tar.gz

cd /path/to/libdispatch
clangpath=$(dirname `xcrun --find clang`)
sudo mkdir -p "$clangpath/../local/lib/clang/enable_objc_gc"
LIBTOOLIZE=glibtoolize sh autogen.sh
Expand Down