mirror of
https://github.com/darlinghq/darling-dyld.git
synced 2024-11-23 04:19:41 +00:00
16 lines
572 B
Bash
Executable File
16 lines
572 B
Bash
Executable File
# link with all .a files in /usr/local/lib/dyld
|
|
ls -1 ${SDKROOT}/usr/local/lib/dyld/*.a | grep -v libcompiler_rt > ${DERIVED_SOURCES_DIR}/archives.txt
|
|
|
|
# link with crash report archive if it exists
|
|
if [ -f ${SDKROOT}/usr/local/lib/libCrashReporterClient.a ]
|
|
then
|
|
echo \"${SDKROOT}/usr/local/lib/libCrashReporterClient.a\" >> ${DERIVED_SOURCES_DIR}/archives.txt
|
|
fi
|
|
|
|
# link with crypto archive if it exists
|
|
if [ -f ${SDKROOT}/usr/local/lib/libcorecrypto_static.a ]
|
|
then
|
|
echo \"${SDKROOT}/usr/local/lib/libcorecrypto_static.a\" >> ${DERIVED_SOURCES_DIR}/archives.txt
|
|
fi
|
|
|