libosip2: disable multi-thread support for toolchains without threads
authorgilles.talis@gmail.com <gilles.talis@gmail.com>
Wed, 15 May 2013 11:47:31 +0000 (11:47 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Thu, 16 May 2013 08:21:05 +0000 (10:21 +0200)
Also added license information

Fixes:
http://autobuild.buildroot.org/results/dcf/dcfbdc1a1ee032881ad5e2f7ca6622d90fc7cb19

[Peter: License is LGPLv2.1+
Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/libosip2/libosip2.mk

index 713851b8e1c89ee0e7999f181ef0423a409327f7..182fa1812e90d6e40f5855aae339bf6d8b5a1dbe 100644 (file)
@@ -7,5 +7,10 @@
 LIBOSIP2_VERSION = 3.6.0
 LIBOSIP2_SITE = $(BR2_GNU_MIRROR)/osip
 LIBOSIP2_INSTALL_STAGING = YES
+LIBOSIP2_LICENSE = LGPLv2.1+
+LIBOSIP2_LICENSE_FILES = COPYING
+
+LIBOSIP2_CONF_OPT = \
+       --enable-mt=$(if $(BR2_TOOLCHAIN_HAS_THREADS),yes,no)
 
 $(eval $(autotools-package))