deploy_tool

This commit is contained in:
2021-04-18 19:36:21 +03:00
parent e783865d3b
commit 81d36618e3

View File

@@ -654,9 +654,7 @@ int main(int argc, char * argv[]) {
}); });
if (!rpath.isEmpty()) { if (!rpath.isEmpty()) {
PIStringList patch_list = input_files; input_files.forEach([&](const PIString & f){
patch_list << plugin_libs;
patch_list.forEach([&](const PIString & f){
patchRPath(f); patchRPath(f);
}); });
} }
@@ -708,6 +706,12 @@ int main(int argc, char * argv[]) {
} }
} }
if (!rpath.isEmpty()) {
plugin_libs.forEach([&](const PIString & f){
patchRPath(f);
});
}
#ifdef WINDOWS #ifdef WINDOWS
out_dir.replaceAll("/", "\\"); out_dir.replaceAll("/", "\\");
#endif #endif