From 8e3b83ad55fd35338a3d2e1a30ab09df953abf90 Mon Sep 17 00:00:00 2001 From: BogDan Vatra Date: Thu, 14 May 2020 14:05:13 +0300 Subject: [PATCH] Fix llvm-strip/readobj parameters Change-Id: I3add593d8ad8791d694f157849e72dd26a6dc4ca Reviewed-by: Assam Boudjelthia --- src/tools/androiddeployqt/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tools/androiddeployqt/main.cpp b/src/tools/androiddeployqt/main.cpp index 6a6f8034e3e..65d0924c4e2 100644 --- a/src/tools/androiddeployqt/main.cpp +++ b/src/tools/androiddeployqt/main.cpp @@ -1609,7 +1609,7 @@ QStringList getQtLibsFromElf(const Options &options, const QString &fileName) } if (options.useLLVM) - readElf = QString::fromLatin1("%1 -needed-libs %2").arg(shellQuote(readElf), shellQuote(fileName)); + readElf = QString::fromLatin1("%1 --needed-libs %2").arg(shellQuote(readElf), shellQuote(fileName)); else readElf = QString::fromLatin1("%1 -d -W %2").arg(shellQuote(readElf), shellQuote(fileName)); @@ -1915,7 +1915,7 @@ bool stripFile(const Options &options, const QString &fileName) } if (options.useLLVM) - strip = QString::fromLatin1("%1 -strip-all %2").arg(shellQuote(strip), shellQuote(fileName)); + strip = QString::fromLatin1("%1 --strip-all %2").arg(shellQuote(strip), shellQuote(fileName)); else strip = QString::fromLatin1("%1 %2").arg(shellQuote(strip), shellQuote(fileName));