@@ -84,6 +84,8 @@ int main(int argc, char **argv)
84
84
qInfo () << " -extra-plugins=<list> : List of extra plugins which should be deployed," ;
85
85
qInfo () << " separated by comma." ;
86
86
qInfo () << " -no-copy-copyright-files : Skip deployment of copyright files." ;
87
+ qInfo () << " -no-copy-packaged-libs : Don't copy libraries that are already contained in" ;
88
+ qInfo () << " the package (e.g. in a subdirectory)" ;
87
89
qInfo () << " -no-plugins : Skip plugin deployment." ;
88
90
qInfo () << " -no-strip : Don't run 'strip' on the binaries." ;
89
91
qInfo () << " -no-translations : Skip deployment of translations." ;
@@ -222,6 +224,7 @@ int main(int argc, char **argv)
222
224
extern QStringList excludeLibs;
223
225
extern QStringList ignoreGlob;
224
226
extern bool copyCopyrightFiles;
227
+ extern bool copyPackagedLibs;
225
228
226
229
/* FHS-like mode is for an application that has been installed to a $PREFIX which is otherwise empty, e.g., /path/to/usr.
227
230
* In this case, we want to construct an AppDir in /path/to. */
@@ -425,6 +428,9 @@ int main(int argc, char **argv)
425
428
} else if (argument.startsWith (" -no-copy-copyright-files" )) {
426
429
LogDebug () << " Argument found:" << argument;
427
430
copyCopyrightFiles = false ;
431
+ } else if (argument.startsWith (" -no-copy-packaged-libs" )) {
432
+ LogDebug () << " Argument found:" << argument;
433
+ copyPackagedLibs = false ;
428
434
} else if (argument == QByteArray (" -always-overwrite" )) {
429
435
LogDebug () << " Argument found:" << argument;
430
436
alwaysOwerwriteEnabled = true ;
0 commit comments