Skip extra PKGCONFIG variables with empty value

The fallback value is an empty string anyways.

Change-Id: I77a2d3ad275321cb8b2e059fb6359f921cbc697c
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
This commit is contained in:
Konstantin Ritt 2013-09-08 07:49:51 +03:00 committed by The Qt Project
parent 690cf426f3
commit 7627f6739b

View File

@ -3240,7 +3240,8 @@ MakefileGenerator::writePkgConfigFile()
}
}
}
t << var << "=" << val << endl;
if (!val.isEmpty())
t << var << "=" << val << endl;
}
t << endl;