1 # link with all .a files in /usr/local/lib/dyld
2 ls -1 ${SDKROOT}/usr
/local/lib
/dyld
/*.a |
grep -v libcompiler_rt
> ${DERIVED_SOURCES_DIR}/archives.txt
4 # link with crash report archive if it exists
5 if [ -f
${SDKROOT}/usr
/local/lib
/libCrashReporterClient.a
]
7 echo \"${SDKROOT}/usr
/local/lib
/libCrashReporterClient.a
\" >> ${DERIVED_SOURCES_DIR}/archives.txt
10 # link with crypto archive if it exists
11 if [ -f
${SDKROOT}/usr
/local/lib
/libcorecrypto_static.a
]
13 echo \"${SDKROOT}/usr
/local/lib
/libcorecrypto_static.a
\" >> ${DERIVED_SOURCES_DIR}/archives.txt