kumquat-buildroot/package/sord/sord.mk
Fabrice Fontaine 44306369e9 package/sord: fix build without threads
Fix the following build failure without threads raised since the
addition of the package in commit
0d4c8ce8a2:

/home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabihf/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabihf/bin/ld: cannot find -lpthread

Fixes:
 - http://autobuild.buildroot.org/results/170d0114987b39a2b9ea173df7a5e806bd270fd8

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2022-03-07 22:58:21 +01:00

30 lines
677 B
Makefile

################################################################################
#
# sord
#
################################################################################
SORD_VERSION = 0.16.8
SORD_SITE = https://download.drobilla.net
SORD_SOURCE = sord-$(SORD_VERSION).tar.bz2
SORD_LICENSE = ISC
SORD_LICENSE_FILES = COPYING
SORD_DEPENDENCIES = host-pkgconf serd
SORD_INSTALL_STAGING = YES
ifeq ($(BR2_PACKAGE_PCRE),y)
SORD_DEPENDENCIES += pcre
endif
SORD_CONF_OPTS += --no-coverage
ifeq ($(BR2_STATIC_LIBS),y)
SORD_CONF_OPTS += --static --no-shared --static-progs
endif
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),)
SORD_CONF_OPTS += --no-threads
endif
$(eval $(waf-package))