Move script into file on disk
It was previously embedded within the Xcode project, making diffing it painful.master
parent
423cd1c4e1
commit
dd0d11b843
|
@ -0,0 +1,16 @@
|
|||
#!/bin/sh
|
||||
|
||||
# link with all .a files in /usr/local/lib/dyld
|
||||
ls -1 ${DEPROOT}/usr/local/lib/dyld/*.a > ${DERIVED_SOURCES_DIR}/archives.txt
|
||||
|
||||
# link with crash report archive if it exists
|
||||
if [ -f ${DEPROOT}/usr/local/lib/libCrashReporterClient.a ]
|
||||
then
|
||||
echo \"${DEPROOT}/usr/local/lib/libCrashReporterClient.a\" >> ${DERIVED_SOURCES_DIR}/archives.txt
|
||||
fi
|
||||
|
||||
# link with crypto archive if it exists
|
||||
if [ -f ${DEPROOT}/usr/local/lib/libcorecrypto_static.a ]
|
||||
then
|
||||
echo \"${DEPROOT}/usr/local/lib/libcorecrypto_static.a\" >> ${DERIVED_SOURCES_DIR}/archives.txt
|
||||
fi
|
|
@ -614,6 +614,7 @@
|
|||
/* End PBXCopyFilesBuildPhase section */
|
||||
|
||||
/* Begin PBXFileReference section */
|
||||
1F6E44152481CA3300B80DEF /* configure-archives.sh */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.sh; name = "configure-archives.sh"; path = "bin/configure-archives.sh"; sourceTree = SOURCE_ROOT; };
|
||||
3703A1241B38C1B300ADBA7F /* dyld_shared_cache_builder */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = dyld_shared_cache_builder; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
373C58EF219CE478003442D5 /* BootArgs.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = BootArgs.cpp; path = dyld3/BootArgs.cpp; sourceTree = "<group>"; };
|
||||
373C58F0219CE478003442D5 /* BootArgs.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = BootArgs.h; path = dyld3/BootArgs.h; sourceTree = "<group>"; };
|
||||
|
@ -1086,6 +1087,7 @@
|
|||
F971DD121A4A0E0700BBDD52 /* configs */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
1F6E44152481CA3300B80DEF /* configure-archives.sh */,
|
||||
F971DD131A4A0E0700BBDD52 /* base.xcconfig */,
|
||||
F971DD141A4A0E0700BBDD52 /* dyld.xcconfig */,
|
||||
F971DD151A4A0E0700BBDD52 /* libdyld.xcconfig */,
|
||||
|
@ -1923,6 +1925,7 @@
|
|||
files = (
|
||||
);
|
||||
inputPaths = (
|
||||
"$(SRCROOT)/bin/configure-archives.sh",
|
||||
);
|
||||
name = "configure archives";
|
||||
outputPaths = (
|
||||
|
@ -1930,7 +1933,7 @@
|
|||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
shellPath = /bin/sh;
|
||||
shellScript = "# link with all .a files in /usr/local/lib/dyld\nls -1 ${DEPROOT}/usr/local/lib/dyld/*.a > ${DERIVED_SOURCES_DIR}/archives.txt \n\n# link with crash report archive if it exists\nif [ -f ${DEPROOT}/usr/local/lib/libCrashReporterClient.a ]\nthen\n echo \\\"${DEPROOT}/usr/local/lib/libCrashReporterClient.a\\\" >> ${DERIVED_SOURCES_DIR}/archives.txt \nfi\n\n# link with crypto archive if it exists\nif [ -f ${DEPROOT}/usr/local/lib/libcorecrypto_static.a ]\nthen\n echo \\\"${DEPROOT}/usr/local/lib/libcorecrypto_static.a\\\" >> ${DERIVED_SOURCES_DIR}/archives.txt\nfi\n";
|
||||
shellScript = ". \"${SRCROOT}/bin/configure-archives.sh\"\n";
|
||||
showEnvVarsInLog = 0;
|
||||
};
|
||||
/* End PBXShellScriptBuildPhase section */
|
||||
|
|
Loading…
Reference in New Issue