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:
parent
690cf426f3
commit
7627f6739b
@ -3240,7 +3240,8 @@ MakefileGenerator::writePkgConfigFile()
|
||||
}
|
||||
}
|
||||
}
|
||||
t << var << "=" << val << endl;
|
||||
if (!val.isEmpty())
|
||||
t << var << "=" << val << endl;
|
||||
}
|
||||
|
||||
t << endl;
|
||||
|
Loading…
Reference in New Issue
Block a user