]> git.saurik.com Git - apple/libresolv.git/blob - xcodescripts/links.sh
151c4e3a1b4a3fb3a058caf615a756c802bf3513
[apple/libresolv.git] / xcodescripts / links.sh
1 #!/bin/bash
2 set -e -x
3
4 if [ "$ACTION" = installhdrs ]; then exit 0; fi
5
6 LIBDIR="$DSTROOT"/usr/lib
7 ln -s libresolv.9.dylib "$LIBDIR"/libresolv.dylib
8 chown -h "$INSTALL_OWNER:$INSTALL_GROUP" "$LIBDIR"/libresolv.dylib
9 chmod -h 0755 "$LIBDIR"/libresolv.dylib