deploy_tool Apple strip fix
This commit is contained in:
@@ -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());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user