Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v3 1/1] package/wayland: requires shared library
@ 2014-09-28  8:48 Bernd Kuhls
  2014-09-28  9:29 ` Yann E. MORIN
  2014-09-28 20:18 ` Peter Korsgaard
  0 siblings, 2 replies; 3+ messages in thread
From: Bernd Kuhls @ 2014-09-28  8:48 UTC (permalink / raw)
  To: buildroot

Fixes
  CC       src/libwayland_server_la-wayland-server.lo
src/wayland-server.c:36:19: error: dlfcn.h: No such file or directory

using this defconfig
http://autobuild.buildroot.net/results/dfd/dfd81f1f1f0f315317b2a85d24b286a277ac7c16/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
v3: update comments (Yann)
v2: propagate this new dependency to packages that select wayland (Yann)

 package/gstreamer1/gst1-plugins-bad/Config.in |    1 +
 package/wayland/Config.in                     |    5 +++--
 package/weston/Config.in                      |    6 ++++--
 3 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/package/gstreamer1/gst1-plugins-bad/Config.in b/package/gstreamer1/gst1-plugins-bad/Config.in
index 9cb275d..c455aca 100644
--- a/package/gstreamer1/gst1-plugins-bad/Config.in
+++ b/package/gstreamer1/gst1-plugins-bad/Config.in
@@ -372,6 +372,7 @@ config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DIRECTFB
 config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_WAYLAND
 	bool "wayland"
 	depends on !BR2_avr32 # wayland
+	depends on !BR2_PREFER_STATIC_LIB # wayland
 	depends on BR2_TOOLCHAIN_HAS_THREADS # wayland
 	select BR2_PACKAGE_WAYLAND
 	help
diff --git a/package/wayland/Config.in b/package/wayland/Config.in
index c92f9ea..cb10fac 100644
--- a/package/wayland/Config.in
+++ b/package/wayland/Config.in
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_WAYLAND
 	bool "wayland"
 	depends on !BR2_avr32 # no epoll_create1, timerfd_create or timerfd_settime
+	depends on !BR2_PREFER_STATIC_LIB # dlfcn.h
 	depends on BR2_TOOLCHAIN_HAS_THREADS
 	select BR2_PACKAGE_LIBFFI
 	select BR2_PACKAGE_EXPAT
@@ -11,6 +12,6 @@ config BR2_PACKAGE_WAYLAND
 
 	  http://wayland.freedesktop.org/
 
-comment "wayland needs a toolchain w/ threads"
+comment "wayland needs a toolchain w/ threads, dynamic library"
 	depends on !BR2_avr32
-	depends on !BR2_TOOLCHAIN_HAS_THREADS
+	depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_PREFER_STATIC_LIB
diff --git a/package/weston/Config.in b/package/weston/Config.in
index dc7e235..fafdf95 100644
--- a/package/weston/Config.in
+++ b/package/weston/Config.in
@@ -1,7 +1,8 @@
-comment "weston needs udev and a toolchain w/ threads, headers >= 3.0"
+comment "weston needs udev and a toolchain w/ threads, dynamic library, headers >= 3.0"
 	depends on !BR2_avr32
 	depends on BR2_ARCH_HAS_ATOMICS
-	depends on !BR2_PACKAGE_HAS_UDEV || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
+	depends on !BR2_PACKAGE_HAS_UDEV || !BR2_TOOLCHAIN_HAS_THREADS || \
+		!BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 || !BR2_PREFER_STATIC_LIB
 
 config BR2_PACKAGE_WESTON
 	bool "weston"
@@ -14,6 +15,7 @@ config BR2_PACKAGE_WESTON
 	select BR2_PACKAGE_MTDEV
 	depends on BR2_PACKAGE_HAS_UDEV
 	depends on !BR2_avr32 # wayland
+	depends on !BR2_PREFER_STATIC_LIB # wayland
 	depends on BR2_TOOLCHAIN_HAS_THREADS # wayland
 	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
 	depends on BR2_ARCH_HAS_ATOMICS # cairo
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH v3 1/1] package/wayland: requires shared library
  2014-09-28  8:48 [Buildroot] [PATCH v3 1/1] package/wayland: requires shared library Bernd Kuhls
@ 2014-09-28  9:29 ` Yann E. MORIN
  2014-09-28 20:18 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Yann E. MORIN @ 2014-09-28  9:29 UTC (permalink / raw)
  To: buildroot

Bernd, All,

On 2014-09-28 10:48 +0200, Bernd Kuhls spake thusly:
> Fixes
>   CC       src/libwayland_server_la-wayland-server.lo
> src/wayland-server.c:36:19: error: dlfcn.h: No such file or directory
> 
> using this defconfig
> http://autobuild.buildroot.net/results/dfd/dfd81f1f1f0f315317b2a85d24b286a277ac7c16/
> 
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>

Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
> v3: update comments (Yann)
> v2: propagate this new dependency to packages that select wayland (Yann)
> 
>  package/gstreamer1/gst1-plugins-bad/Config.in |    1 +
>  package/wayland/Config.in                     |    5 +++--
>  package/weston/Config.in                      |    6 ++++--
>  3 files changed, 8 insertions(+), 4 deletions(-)
> 
> diff --git a/package/gstreamer1/gst1-plugins-bad/Config.in b/package/gstreamer1/gst1-plugins-bad/Config.in
> index 9cb275d..c455aca 100644
> --- a/package/gstreamer1/gst1-plugins-bad/Config.in
> +++ b/package/gstreamer1/gst1-plugins-bad/Config.in
> @@ -372,6 +372,7 @@ config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DIRECTFB
>  config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_WAYLAND
>  	bool "wayland"
>  	depends on !BR2_avr32 # wayland
> +	depends on !BR2_PREFER_STATIC_LIB # wayland
>  	depends on BR2_TOOLCHAIN_HAS_THREADS # wayland
>  	select BR2_PACKAGE_WAYLAND
>  	help
> diff --git a/package/wayland/Config.in b/package/wayland/Config.in
> index c92f9ea..cb10fac 100644
> --- a/package/wayland/Config.in
> +++ b/package/wayland/Config.in
> @@ -1,6 +1,7 @@
>  config BR2_PACKAGE_WAYLAND
>  	bool "wayland"
>  	depends on !BR2_avr32 # no epoll_create1, timerfd_create or timerfd_settime
> +	depends on !BR2_PREFER_STATIC_LIB # dlfcn.h
>  	depends on BR2_TOOLCHAIN_HAS_THREADS
>  	select BR2_PACKAGE_LIBFFI
>  	select BR2_PACKAGE_EXPAT
> @@ -11,6 +12,6 @@ config BR2_PACKAGE_WAYLAND
>  
>  	  http://wayland.freedesktop.org/
>  
> -comment "wayland needs a toolchain w/ threads"
> +comment "wayland needs a toolchain w/ threads, dynamic library"
>  	depends on !BR2_avr32
> -	depends on !BR2_TOOLCHAIN_HAS_THREADS
> +	depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_PREFER_STATIC_LIB
> diff --git a/package/weston/Config.in b/package/weston/Config.in
> index dc7e235..fafdf95 100644
> --- a/package/weston/Config.in
> +++ b/package/weston/Config.in
> @@ -1,7 +1,8 @@
> -comment "weston needs udev and a toolchain w/ threads, headers >= 3.0"
> +comment "weston needs udev and a toolchain w/ threads, dynamic library, headers >= 3.0"
>  	depends on !BR2_avr32
>  	depends on BR2_ARCH_HAS_ATOMICS
> -	depends on !BR2_PACKAGE_HAS_UDEV || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
> +	depends on !BR2_PACKAGE_HAS_UDEV || !BR2_TOOLCHAIN_HAS_THREADS || \
> +		!BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 || !BR2_PREFER_STATIC_LIB
>  
>  config BR2_PACKAGE_WESTON
>  	bool "weston"
> @@ -14,6 +15,7 @@ config BR2_PACKAGE_WESTON
>  	select BR2_PACKAGE_MTDEV
>  	depends on BR2_PACKAGE_HAS_UDEV
>  	depends on !BR2_avr32 # wayland
> +	depends on !BR2_PREFER_STATIC_LIB # wayland
>  	depends on BR2_TOOLCHAIN_HAS_THREADS # wayland
>  	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
>  	depends on BR2_ARCH_HAS_ATOMICS # cairo
> -- 
> 1.7.10.4
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH v3 1/1] package/wayland: requires shared library
  2014-09-28  8:48 [Buildroot] [PATCH v3 1/1] package/wayland: requires shared library Bernd Kuhls
  2014-09-28  9:29 ` Yann E. MORIN
@ 2014-09-28 20:18 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2014-09-28 20:18 UTC (permalink / raw)
  To: buildroot

>>>>> "Bernd" == Bernd Kuhls <bernd.kuhls@t-online.de> writes:

 > Fixes
 >   CC       src/libwayland_server_la-wayland-server.lo
 > src/wayland-server.c:36:19: error: dlfcn.h: No such file or directory

 > using this defconfig
 > http://autobuild.buildroot.net/results/dfd/dfd81f1f1f0f315317b2a85d24b286a277ac7c16/

 > Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
 > ---
 > v3: update comments (Yann)
 > v2: propagate this new dependency to packages that select wayland (Yann)

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-09-28 20:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-28  8:48 [Buildroot] [PATCH v3 1/1] package/wayland: requires shared library Bernd Kuhls
2014-09-28  9:29 ` Yann E. MORIN
2014-09-28 20:18 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox