[Buildroot] [git commit] tslib: needs dynamic library for dlopen

Peter Korsgaard peter at korsgaard.com
Tue Oct 22 14:24:52 UTC 2013


commit: http://git.buildroot.net/buildroot/commit/?id=f826e851c870039189d1a4d2b8074a0aa9de01e6
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Fixes
http://autobuild.buildroot.net/results/1242cbea015e5a24a6621d1bd5569d2a1a819bb4/

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire at gmail.com>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/directfb/Config.in                       |    4 ++++
 package/tslib/Config.in                          |    4 ++++
 package/x11r7/xdriver_xf86-input-tslib/Config.in |    4 ++++
 3 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/package/directfb/Config.in b/package/directfb/Config.in
index 38daa3a..fa108b7 100644
--- a/package/directfb/Config.in
+++ b/package/directfb/Config.in
@@ -93,9 +93,13 @@ config BR2_PACKAGE_DIRECTFB_SERIALMOUSE
 
 config BR2_PACKAGE_DIRECTFB_TSLIB
 	bool "enable touchscreen support"
+	depends on !BR2_PREFER_STATIC_LIB # tslib
 	default y
 	select BR2_PACKAGE_TSLIB
 
+comment "touchscreen support needs a toolchain w/ dynamic library"
+	depends on BR2_PREFER_STATIC_LIB
+
 config BR2_PACKAGE_DIRECTFB_GIF
 	bool "enable GIF support"
 	default y
diff --git a/package/tslib/Config.in b/package/tslib/Config.in
index 95ee897..ef03f90 100644
--- a/package/tslib/Config.in
+++ b/package/tslib/Config.in
@@ -1,6 +1,10 @@
 config BR2_PACKAGE_TSLIB
 	bool "tslib"
+	depends on !BR2_PREFER_STATIC_LIB # dlopen
 	help
 	  Tslib is an abstraction layer for touchscreen panel events.
 
 	  http://tslib.berlios.de/
+
+comment "tslib needs a toolchain w/ dynamic library"
+	depends on BR2_PREFER_STATIC_LIB
diff --git a/package/x11r7/xdriver_xf86-input-tslib/Config.in b/package/x11r7/xdriver_xf86-input-tslib/Config.in
index f0ea132..7cf5926 100644
--- a/package/x11r7/xdriver_xf86-input-tslib/Config.in
+++ b/package/x11r7/xdriver_xf86-input-tslib/Config.in
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_XDRIVER_XF86_INPUT_TSLIB
 	bool "xf86-input-tslib"
+	depends on !BR2_PREFER_STATIC_LIB # tslib
 	select BR2_PACKAGE_XPROTO_INPUTPROTO
 	select BR2_PACKAGE_XPROTO_RANDRPROTO
 	select BR2_PACKAGE_XPROTO_XPROTO
@@ -8,3 +9,6 @@ config BR2_PACKAGE_XDRIVER_XF86_INPUT_TSLIB
 	  Touch screen library input driver
 
 	  http://www.ptxdist.org/software/xf86-input-tslib/index_en.html
+
+comment "xf86-input-tslib needs a toolchain w/ dynamic library"
+	depends on BR2_PREFER_STATIC_LIB


More information about the buildroot mailing list