deploy_tool Apple strip fix

This commit is contained in:
2021-04-04 21:15:33 +03:00
parent 8eff5d24c9
commit 461d05aaac

View File

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