c2a5b777a5
[Thomas: - adjust the title of the commit - remove the thread dependency, by using the --disable-threads option when needed - remove LIBUNISTRING_SOURCE, since its value was the default - use BR2_GNU_MIRROR in LIBUNISTRING_SITE - adjust the license, which really is LGPLv3+, not LGPLv2. The license file is COPYING.LIB.] Signed-off-by: Pedro Aguilar <paguilar@paguilar.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
20 lines
542 B
Makefile
20 lines
542 B
Makefile
################################################################################
|
|
#
|
|
# libunistring
|
|
#
|
|
################################################################################
|
|
|
|
LIBUNISTRING_VERSION = 0.9.4
|
|
LIBUNISTRING_SITE = $(BR2_GNU_MIRROR)/libunistring
|
|
LIBUNISTRING_INSTALL_STAGING = YES
|
|
LIBUNISTRING_LICENSE = LGPLv3+
|
|
LIBUNISTRING_LICENSE_FILES = COPYING.LIB
|
|
|
|
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
|
|
LIBUNISTRING_CONF_OPTS += --enable-threads=posix
|
|
else
|
|
LIBUNISTRING_CONF_OPTS += --disable-threads
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|