package/pinentry: avoid building qt5 version if qt4 is enabled
authorZoltan Gyarmati <mr.zoltan.gyarmati@gmail.com>
Mon, 29 Jan 2018 05:38:11 +0000 (06:38 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 29 Jan 2018 19:57:42 +0000 (20:57 +0100)
BR2_PACKAGE_PINENTRY_QT5 selects BR2_PACKAGE_QT5, which can lead to Qt
version clash if otherwise Qt4 is selected as well. Making
BR2_PACKAGE_PINENTRY_QT5 depending on !BR2_PACKAGE_QT to avoid this.

Fixes:
     http://autobuild.buildroot.net/results/3c537e1260dc9ce57657ca0d49e318a10aee111e

Signed-off-by: Zoltan Gyarmati <mr.zoltan.gyarmati@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/pinentry/Config.in

index 781901bbaf1aeaa96e389c7c5711dbc29778cd53..5f2cb58fbb39d2084b3207c16728e7128357f5ec 100644 (file)
@@ -63,6 +63,7 @@ config BR2_PACKAGE_PINENTRY_QT5
        depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
        depends on !BR2_STATIC_LIBS
        depends on !BR2_PACKAGE_PINENTRY_QT4
+       depends on !BR2_PACKAGE_QT
        select BR2_PACKAGE_QT5
        select BR2_PACKAGE_QT5BASE_GUI
        select BR2_PACKAGE_QT5BASE_WIDGETS