From 89c4b7b45c66605308e56ef7f53378798b22991f Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Fri, 29 Mar 2013 22:39:56 -0700 Subject: Add spaces around the components of a pkg-config Cflags: field Change-Id: I91c301adaaf62cf24be0203785282c375c9d01e1 Reviewed-by: Oswald Buddenhagen --- qmake/generators/makefile.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'qmake') diff --git a/qmake/generators/makefile.cpp b/qmake/generators/makefile.cpp index 69a8c809ac..d095bdf83d 100644 --- a/qmake/generators/makefile.cpp +++ b/qmake/generators/makefile.cpp @@ -3271,10 +3271,10 @@ MakefileGenerator::writePkgConfigFile() t << "Cflags: " // << var("QMAKE_CXXFLAGS") << " " << varGlue("PRL_EXPORT_DEFINES","-D"," -D"," ") - << project->values("PRL_EXPORT_CXXFLAGS").join(' ') - << project->values("QMAKE_PKGCONFIG_CFLAGS").join(' ') + << varGlue("PRL_EXPORT_CXXFLAGS", "", " ", " ") + << varGlue("QMAKE_PKGCONFIG_CFLAGS", "", " ", " ") // << varGlue("DEFINES","-D"," -D"," ") - << " -I${includedir}" << endl; + << "-I${includedir}" << endl; // requires const QString requires = project->values("QMAKE_PKGCONFIG_REQUIRES").join(' '); -- cgit v1.2.3