diff mbox

tslib: needs dynamic library for dlopen

Message ID a0f5079cb28446c5d278.1382078683@argentina
State Accepted
Commit f826e851c870039189d1a4d2b8074a0aa9de01e6
Headers show

Commit Message

Thomas De Schampheleire Oct. 18, 2013, 6:44 a.m. UTC
Fixes
http://autobuild.buildroot.net/results/1242cbea015e5a24a6621d1bd5569d2a1a819bb4/

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>

---
v2: - propagate dependency to selectors of tslib (ThomasP)
    - shared library -> dynamic library (shame on me)

 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(-)

Comments

Thomas De Schampheleire Oct. 18, 2013, 2:01 p.m. UTC | #1
On Fri, Oct 18, 2013 at 8:44 AM, Thomas De Schampheleire
<patrickdepinguin@gmail.com> wrote:
> Fixes
> http://autobuild.buildroot.net/results/1242cbea015e5a24a6621d1bd5569d2a1a819bb4/
>
> Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
>
> ---
> v2: - propagate dependency to selectors of tslib (ThomasP)
>     - shared library -> dynamic library (shame on me)
>

Sorry by the way that the subject line does not correctly mention v2.
Peter Korsgaard Oct. 22, 2013, 2:25 p.m. UTC | #2
>>>>> "Thomas" == Thomas De Schampheleire <patrickdepinguin@gmail.com> writes:

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

 > Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>

 > ---
 > v2: - propagate dependency to selectors of tslib (ThomasP)
 >     - shared library -> dynamic library (shame on me)

Committed, thanks.
diff mbox

Patch

diff --git a/package/directfb/Config.in b/package/directfb/Config.in
--- 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
--- 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
--- 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_TS
 	  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