]> git.saurik.com Git - apple/libresolv.git/blobdiff - xcodescripts/headers.sh
libresolv-51.tar.gz
[apple/libresolv.git] / xcodescripts / headers.sh
diff --git a/xcodescripts/headers.sh b/xcodescripts/headers.sh
new file mode 100644 (file)
index 0000000..ee06b70
--- /dev/null
@@ -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