qt5base-lts/mkspecs/features/qpa/basicunixfontdatabase.prf
Robin Burchell b2e9c680e3 qpa: Use LIBS_PRIVATE, not LIBS when linking in font database bits.
LIBS_PRIVATE is more correct (these shouldn't be part of the public API),
and additionally, using LIBS_PRIVATE also ensures these libraries come last
on the link command, which fixes builds using -Wl,--as-needed.

Change-Id: I9f2e4e78855a30a53ce9013623597b840a2832bd
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
2016-05-19 12:45:36 +00:00

4 lines
72 B
Plaintext

contains(QT_CONFIG, system-freetype) {
LIBS_PRIVATE += -lfreetype
}