gmrender-resurrect: disable on musl configurations
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 14 May 2016 14:17:14 +0000 (16:17 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 15 May 2016 19:22:20 +0000 (21:22 +0200)
gmrender-resurrect uses <error.h>, which isn't available on musl
configuration, so let's disable this package in such situations.

Fixes:

  http://autobuild.buildroot.net/results/96a280a8115cd01d64670e4caf2471d3ee4581d9/
  (and numerous similar build failures)

Cc: kei-k@ca2.so-net.ne.jp <kei-k@ca2.so-net.ne.jp>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/gmrender-resurrect/Config.in

index db655ad7f4311cc4fcc0a5d4fa7c413b200f8c3a..1a46225a37ff5f6683072553ff4fb3cd507008af 100644 (file)
@@ -3,6 +3,8 @@ config BR2_PACKAGE_GMRENDER_RESURRECT
        depends on BR2_USE_WCHAR # gstreamer1 -> libglib2
        depends on BR2_TOOLCHAIN_HAS_THREADS # gstreamer1 -> libglib2, libupnp
        depends on BR2_USE_MMU # gstreamer1
+       # uses <error.h>
+       depends on !BR2_TOOLCHAIN_USES_MUSL
        select BR2_PACKAGE_GSTREAMER1
        select BR2_PACKAGE_GST1_PLUGINS_BASE # run-time only
        select BR2_PACKAGE_LIBUPNP
@@ -11,6 +13,7 @@ config BR2_PACKAGE_GMRENDER_RESURRECT
 
          https://github.com/hzeller/gmrender-resurrect
 
-comment "gmrender-resurrect needs a toolchain w/ wchar, threads"
+comment "gmrender-resurrect needs an (e)glibc or uClibc toolchain w/ wchar, threads"
        depends on BR2_USE_MMU
-       depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
+       depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
+               BR2_TOOLCHAIN_USES_MUSL