kumquat-buildroot/package/liblo/liblo.mk
Alex Baldwin e44ae2afe7 liblo: link with libatomic when available
liblo uses atomic builtins that are only available inside libatomic on
some architectures, so link with it when available.

Fixes:

  http://autobuild.buildroot.net/results/c8bed3a3fa7d2b2258f573cbfcb01af07419e0bf/

Signed-off-by: Alex Baldwin <alexbaldwinmusic@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2018-02-25 21:54:47 +01:00

27 lines
731 B
Makefile

################################################################################
#
# liblo
#
################################################################################
LIBLO_VERSION = 0.29
LIBLO_SITE = http://downloads.sourceforge.net/project/liblo/liblo/$(LIBLO_VERSION)
LIBLO_LICENSE = LGPL-2.1+
LIBLO_LICENSE_FILES = COPYING
LIBLO_INSTALL_STAGING = YES
# IPv6 support broken, issue known upstream
# werror - not needed for release.
LIBLO_CONF_OPTS += \
--disable-ipv6 \
--disable-werror
# Liblo uses atomic builtins, so we need to link with libatomic for
# the architectures who explicitly need libatomic.
ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
LIBLO_CONF_ENV += LIBS="-latomic"
endif
$(eval $(autotools-package))