]> git.saurik.com Git - apple/libc.git/blob - xcodescripts/sim-compat-symlink.sh
7c1826aa7ce3c20103fd22f5b0f4040b81e43dc7
[apple/libc.git] / xcodescripts / sim-compat-symlink.sh
1 #!/bin/bash -ex
2
3 if [[ "${ACTION}" == "installhdrs" ]]; then
4 exit 0
5 fi
6
7 if [[ "${PLATFORM_NAME}" =~ "simulator" ]]; then
8 ln -s libsystem_c.dylib ${DSTROOT}${INSTALL_PATH}/libsystem_sim_c.dylib
9 fi