X-Git-Url: https://git.saurik.com/apple/libpthread.git/blobdiff_plain/964d3577b041867f776d8eb940bf4a1108ffb97c..45deb508575711c47d78d19e326a9a26e43e63e0:/xcodescripts/install-symlinks.sh?ds=sidebyside diff --git a/xcodescripts/install-symlinks.sh b/xcodescripts/install-symlinks.sh index cc4fb2c..e2b1058 100644 --- a/xcodescripts/install-symlinks.sh +++ b/xcodescripts/install-symlinks.sh @@ -27,6 +27,8 @@ if [ "$ACTION" = build ]; then exit 0; fi # Symlink old header locations. # +DSTROOT="${DSTROOT}/${SDK_INSTALL_HEADERS_ROOT}" + ln -sf "pthread/pthread.h" "$DSTROOT/usr/include/pthread.h" ln -sf "pthread/pthread_impl.h" "$DSTROOT/usr/include/pthread_impl.h" ln -sf "pthread/pthread_spis.h" "$DSTROOT/usr/include/pthread_spis.h"