fe0607e68b
xapp_xload tries to include protocols/rwhod.h, which isn't available on musl. Fortunately, the package also has stub code that can be enabled with -DRLOADSTUB (this is done e.g. on Cygwin). This should probably be detected in configure, but that's a lot more work. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
20 lines
631 B
Makefile
20 lines
631 B
Makefile
################################################################################
|
|
#
|
|
# xapp_xload
|
|
#
|
|
################################################################################
|
|
|
|
XAPP_XLOAD_VERSION = 1.1.2
|
|
XAPP_XLOAD_SOURCE = xload-$(XAPP_XLOAD_VERSION).tar.bz2
|
|
XAPP_XLOAD_SITE = http://xorg.freedesktop.org/releases/individual/app
|
|
XAPP_XLOAD_LICENSE = MIT
|
|
XAPP_XLOAD_LICENSE_FILES = COPYING
|
|
XAPP_XLOAD_DEPENDENCIES = xlib_libXaw
|
|
|
|
ifeq ($(BR2_TOOLCHAIN_USES_MUSL),y)
|
|
# musl doesn't have rwhod.h, but xload can replace it with stubs
|
|
XAPP_XLOAD_CONF_OPTS += CFLAGS="$(TARGET_CFLAGS) -DRLOADSTUB"
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|