Browse Source

Strip without -x

master
probonopd 8 years ago
committed by GitHub
parent
commit
c01275a7f6
  1. 2
      shared/shared.cpp

2
shared/shared.cpp

@ -646,7 +646,7 @@ void runStrip(const QString &binaryPath)
LogDebug() << "Using strip:"; LogDebug() << "Using strip:";
LogDebug() << " stripping" << resolvedPath; LogDebug() << " stripping" << resolvedPath;
QProcess strip; QProcess strip;
strip.start("strip", QStringList() << "-x" << resolvedPath); strip.start("strip", QStringList() << resolvedPath);
if (!strip.waitForStarted()) { if (!strip.waitForStarted()) {
if(strip.errorString().contains("execvp: No such file or directory")){ if(strip.errorString().contains("execvp: No such file or directory")){
LogError() << "Could not start strip."; LogError() << "Could not start strip.";

Loading…
Cancel
Save