diff options
author | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2012-09-03 12:19:39 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-09-07 23:35:26 +0200 |
commit | 590ac22ed669829c194131438a0ec5294b4a90d5 (patch) | |
tree | 454e6b3515297d18845375d6d6c4a944150fc919 /mkspecs/features/qt_module.prf | |
parent | 2e10b38c6a4d1025335e3a3b095f0cd45870d8c5 (diff) |
de-duplicate MODULE_DEPENDS
in modules which conditionally add dependencies it is hard to keep $$QT
free of duplicates at definition time, so clean it up when we use it.
Change-Id: Ia711e23bec3683525dfca80df4834e20b007ba1f
Reviewed-by: Qt Doc Bot <qt_docbot@qt-project.org>
Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
Diffstat (limited to 'mkspecs/features/qt_module.prf')
-rw-r--r-- | mkspecs/features/qt_module.prf | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mkspecs/features/qt_module.prf b/mkspecs/features/qt_module.prf index f5fa3e5da7..4930c36aec 100644 --- a/mkspecs/features/qt_module.prf +++ b/mkspecs/features/qt_module.prf @@ -24,6 +24,7 @@ staticlib: CONFIG += static ucmodule = $$upper($$MODULE) MODULE_DEPENDS = $$replace(QT, -private$, ) +MODULE_DEPENDS = $$unique(MODULE_DEPENDS) contains(TARGET, QtAddOn.*): \ MODULE_DEFINE = QT_ADDON_$${ucmodule}_LIB |