Skip to content

Commit

Permalink
Better linking to SDK for CommonCrypto
Browse files Browse the repository at this point in the history
  • Loading branch information
henrinormak committed Dec 26, 2016
1 parent 9066f39 commit ac22269
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Heimdall.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "mapsDirectory=$SRCROOT/CommonCrypto\nplatform=$PLATFORM_NAME\nmoduleMap=$mapsDirectory/$platform.modulemap\nmoduleMapComparison=$mapsDirectory/$platform.modulemap.tmp\n\nmkdir -p \"$mapsDirectory\"\n\ncat > \"$moduleMapComparison\" << MAP\nmodule CommonCrypto [system] {\n header \"$SDKROOT/usr/include/CommonCrypto/CommonCrypto.h\"\n export *\n}\nMAP\n\ndiff \"$moduleMapComparison\" \"$moduleMap\" >/dev/null 2>/dev/null\nif [[ $? != 0 ]] ; then\nmv \"$moduleMapComparison\" \"$moduleMap\"\nelse\nrm \"$moduleMapComparison\"\nfi";
shellScript = "mapsDirectory=$SRCROOT/CommonCrypto\nplatform=$PLATFORM_NAME\nmoduleMap=$mapsDirectory/$platform.modulemap\nmoduleMapComparison=$mapsDirectory/$platform.modulemap.tmp\nsdkRoot=$(cd -P \"$SDKROOT\" && pwd)\n\nmkdir -p \"$mapsDirectory\"\n\ncat > \"$moduleMapComparison\" << MAP\nmodule CommonCrypto [system] {\n header \"$sdkRoot/usr/include/CommonCrypto/CommonCrypto.h\"\n export *\n}\nMAP\n\ndiff \"$moduleMapComparison\" \"$moduleMap\" >/dev/null 2>/dev/null\nif [[ $? != 0 ]] ; then\nmv \"$moduleMapComparison\" \"$moduleMap\"\nelse\nrm \"$moduleMapComparison\"\nfi";
};
/* End PBXShellScriptBuildPhase section */

Expand Down

0 comments on commit ac22269

Please sign in to comment.