deploy_tool Apple strip fix fix))

This commit is contained in:
2021-04-04 23:12:31 +03:00
parent 461d05aaac
commit a40083ff62

View File

@@ -666,7 +666,7 @@ int main(int argc, char * argv[]) {
if (!fake) {
system((cmd_copy + "\"" + l + "\" \"" + out_dir + "\"" + cmd_suffix).data());
if (!otool.isEmpty()) // Apple
system((strip + " \"" + out_dir + fi.name() + "\"").data());
system((strip + " -S \"" + out_dir + fi.name() + "\"").data());
else
system((strip + " --strip-unneeded \"" + out_dir + fi.name() + "\"").data());
}