We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8cb9438 commit b00a83dCopy full SHA for b00a83d
tools/linuxdeployqt/shared.cpp
@@ -1083,6 +1083,9 @@ void runStrip(const QString &binaryPath)
1083
LogDebug() << "Using strip:";
1084
LogDebug() << " stripping" << resolvedPath;
1085
QProcess strip;
1086
+ QProcessEnvironment env = QProcessEnvironment::systemEnvironment();
1087
+ env.remove("LD_LIBRARY_PATH");
1088
+ strip.setProcessEnvironment(env);
1089
strip.start("strip", QStringList() << resolvedPath);
1090
if (!strip.waitForStarted()) {
1091
if(strip.errorString().contains("execvp: No such file or directory")){
0 commit comments