diff options
author | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2012-08-31 16:21:01 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-09-07 23:35:30 +0200 |
commit | aca5c2b3c2aa46bbe2a3b8fe0e05103906ab3d48 (patch) | |
tree | 723e47a4a95b6b550a959dcf0ddb7d77a308438e /qmake | |
parent | 590ac22ed669829c194131438a0ec5294b4a90d5 (diff) |
fix c string comparison
Change-Id: If9cc96e240047cfe301804d57a33b937afadef72
Reviewed-by: Qt Doc Bot <qt_docbot@qt-project.org>
Reviewed-by: J-P Nurmi <j-p.nurmi@nokia.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
Diffstat (limited to 'qmake')
-rw-r--r-- | qmake/generators/unix/unixmake.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qmake/generators/unix/unixmake.cpp b/qmake/generators/unix/unixmake.cpp index ccdb3c816c..9e22b2b47b 100644 --- a/qmake/generators/unix/unixmake.cpp +++ b/qmake/generators/unix/unixmake.cpp @@ -358,7 +358,7 @@ UnixMakefileGenerator::init() int pat = project->first("VER_PAT").toInt(); comp_flags += " -version-info " + QString::number(10*maj + min) + ":" + QString::number(pat) + ":0"; - if(libtoolify[i] != "QMAKE_AR_CMD") { + if (strcmp(libtoolify[i], "QMAKE_AR_CMD")) { QString rpath = Option::output_dir; if(!project->isEmpty("DESTDIR")) { rpath = project->first("DESTDIR").toQString(); |