From aca5c2b3c2aa46bbe2a3b8fe0e05103906ab3d48 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Fri, 31 Aug 2012 16:21:01 +0200 Subject: fix c string comparison Change-Id: If9cc96e240047cfe301804d57a33b937afadef72 Reviewed-by: Qt Doc Bot Reviewed-by: J-P Nurmi Reviewed-by: Joerg Bornemann --- qmake/generators/unix/unixmake.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qmake/generators') 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(); -- cgit v1.2.3