diff --git a/package/directfb/Config.in b/package/directfb/Config.in index b552164777..35c0309a6f 100644 --- a/package/directfb/Config.in +++ b/package/directfb/Config.in @@ -113,11 +113,12 @@ config BR2_PACKAGE_DIRECTFB_SERIALMOUSE config BR2_PACKAGE_DIRECTFB_TSLIB bool "enable touchscreen support" depends on !BR2_STATIC_LIBS # tslib + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12 # tslib default y select BR2_PACKAGE_TSLIB -comment "touchscreen support needs a toolchain w/ dynamic library" - depends on BR2_STATIC_LIBS +comment "touchscreen support needs a toolchain w/ dynamic library, headers >= 3.12" + depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12 config BR2_PACKAGE_DIRECTFB_GIF bool "enable GIF support" diff --git a/package/qt/Config.mouse.in b/package/qt/Config.mouse.in index 11da956f62..f15f8d5f56 100644 --- a/package/qt/Config.mouse.in +++ b/package/qt/Config.mouse.in @@ -13,9 +13,10 @@ config BR2_PACKAGE_QT_MOUSE_TSLIB bool "tslib" select BR2_PACKAGE_TSLIB depends on !BR2_STATIC_LIBS # tslib + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12 # tslib -comment "tslib support needs a toolchain w/ dynamic library" - depends on BR2_STATIC_LIBS +comment "tslib support needs a toolchain w/ dynamic library, headers >= 3.12" + depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12 config BR2_PACKAGE_QT_MOUSE_QVFB bool "qvfb" diff --git a/package/qt5/qt5base/Config.in b/package/qt5/qt5base/Config.in index 7244fbedc6..ad95138380 100644 --- a/package/qt5/qt5base/Config.in +++ b/package/qt5/qt5base/Config.in @@ -267,11 +267,12 @@ config BR2_PACKAGE_QT5BASE_ICU config BR2_PACKAGE_QT5BASE_TSLIB bool "Enable Tslib support" depends on !BR2_STATIC_LIBS # dlopen + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12 # tslib select BR2_PACKAGE_TSLIB help This options enables the Tslib plugin -comment "tslib support needs a toolchain w/ dynamic library" - depends on BR2_STATIC_LIBS +comment "tslib support needs a toolchain w/ dynamic library, headers >= 3.12" + depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12 endif diff --git a/package/tslib/Config.in b/package/tslib/Config.in index 050588e834..6b86ebc4c9 100644 --- a/package/tslib/Config.in +++ b/package/tslib/Config.in @@ -1,10 +1,11 @@ config BR2_PACKAGE_TSLIB bool "tslib" depends on !BR2_STATIC_LIBS # dlopen + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12 help Tslib is an abstraction layer for touchscreen panel events. https://github.com/kergoth/tslib -comment "tslib needs a toolchain w/ dynamic library" - depends on BR2_STATIC_LIBS +comment "tslib needs a toolchain w/ dynamic library, headers >= 3.12" + depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12 diff --git a/package/x11r7/xdriver_xf86-input-tslib/Config.in b/package/x11r7/xdriver_xf86-input-tslib/Config.in index 9c6e296153..79b739686e 100644 --- a/package/x11r7/xdriver_xf86-input-tslib/Config.in +++ b/package/x11r7/xdriver_xf86-input-tslib/Config.in @@ -1,6 +1,7 @@ config BR2_PACKAGE_XDRIVER_XF86_INPUT_TSLIB bool "xf86-input-tslib" depends on !BR2_STATIC_LIBS # tslib + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12 # tslib select BR2_PACKAGE_XPROTO_INPUTPROTO select BR2_PACKAGE_XPROTO_RANDRPROTO select BR2_PACKAGE_XPROTO_XPROTO @@ -10,5 +11,5 @@ config BR2_PACKAGE_XDRIVER_XF86_INPUT_TSLIB http://www.ptxdist.org/software/xf86-input-tslib/index_en.html -comment "xf86-input-tslib needs a toolchain w/ dynamic library" - depends on BR2_STATIC_LIBS +comment "xf86-input-tslib needs a toolchain w/ dynamic library, headers >= 3.12" + depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12