提交 d55f6586 编写于 作者: T Tautvydas Žilys

codesign binaries after running otool because running otool makes previous signatures invalid.

上级 9c25d81e
......@@ -181,10 +181,10 @@ sub MergeIntoFatBinary
if ($isExe)
{
system("codesign", "--entitlements", $buildscriptsdir . "/entitlements.plist", "-s", "-", "$binaryOutput") eq 0 or die("Failed to codesign $binaryOutput!");
system("codesign", "--entitlements", $buildscriptsdir . "/entitlements.plist", "-s", "-", "-f", "$binaryOutput") eq 0 or die("Failed to codesign $binaryOutput!");
}
else
{
system("codesign", "-s", "-", "$binaryOutput") eq 0 or die("Failed to codesign $binaryOutput!");
system("codesign", "-s", "-", "-f", "$binaryOutput") eq 0 or die("Failed to codesign $binaryOutput!");
}
}
......@@ -22,6 +22,9 @@ sub InstallNameTool
system("install_name_tool -id $pathtoburnin $target") eq 0 or die("Failed running install_name_tool");
print "running otool after:\n";
system("otool","-L",$target);
print "running codesign on $target:\n";
system("codesign", "-s", "-", "-f", $target);
}
sub GitClone
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册