X-Git-Url: https://git.saurik.com/apple/libresolv.git/blobdiff_plain/3033393ba4a4530506fccf8737e0e43b9ee7ff17..5646d8ff6e32c33abed6154a695cfb16d8f1089b:/xcodescripts/headers.sh diff --git a/xcodescripts/headers.sh b/xcodescripts/headers.sh new file mode 100644 index 0000000..ee06b70 --- /dev/null +++ b/xcodescripts/headers.sh @@ -0,0 +1,9 @@ +#!/bin/bash +set -e -x + +DIR="$DSTROOT"/usr/include/arpa +install -d -m 0755 -o "$INSTALL_OWNER" -g "$INSTALL_GROUP" \ + "$DIR" +ln -s ../nameser.h "$DIR" +chmod -h 0644 "$DIR"/nameser.h +chown -h "$INSTALL_OWNER:$INSTALL_GROUP" "$DIR"/nameser.h