Add check if lib is build
This commit is contained in:
parent
7be2375820
commit
36efa187a3
|
@ -188,6 +188,7 @@
|
|||
isa = PBXNativeTarget;
|
||||
buildConfigurationList = 533ED31C1528C4840005C6FA /* Build configuration list for PBXNativeTarget "OpenSSL-for-iOS" */;
|
||||
buildPhases = (
|
||||
535C0E0B1B51253B0043FE32 /* Run Script */,
|
||||
533ED2F71528C4840005C6FA /* Sources */,
|
||||
533ED2F81528C4840005C6FA /* Frameworks */,
|
||||
533ED2F91528C4840005C6FA /* Resources */,
|
||||
|
@ -272,6 +273,23 @@
|
|||
};
|
||||
/* End PBXResourcesBuildPhase section */
|
||||
|
||||
/* Begin PBXShellScriptBuildPhase section */
|
||||
535C0E0B1B51253B0043FE32 /* Run Script */ = {
|
||||
isa = PBXShellScriptBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
);
|
||||
inputPaths = (
|
||||
);
|
||||
name = "Run Script";
|
||||
outputPaths = (
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
shellPath = /bin/sh;
|
||||
shellScript = "if [ ! -f lib/libcrypo.a ]; then\n echo \"error: Please run ./build-libssl.h first\"\n exit 1\nfi";
|
||||
};
|
||||
/* End PBXShellScriptBuildPhase section */
|
||||
|
||||
/* Begin PBXSourcesBuildPhase section */
|
||||
533ED2F71528C4840005C6FA /* Sources */ = {
|
||||
isa = PBXSourcesBuildPhase;
|
||||
|
|
Loading…
Reference in New Issue