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

Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/libeXosip2/libeXosip2.mk

index d72ab6172ce0a98a3cb6f887a9eca0a1b1b76ff2..7fef1a65ae88480450c9600c0ea5fa864437fd2d 100644 (file)
@@ -7,6 +7,8 @@
 LIBEXOSIP2_VERSION = 3.6.0
 LIBEXOSIP2_SITE = http://download.savannah.gnu.org/releases/exosip/
 LIBEXOSIP2_INSTALL_STAGING = YES
+LIBEXOSIP2_LICENSE = GPLv2+
+LIBEXOSIP2_LICENSE_FILES = COPYING
 
 LIBEXOSIP2_DEPENDENCIES = host-pkgconf libosip2
 
@@ -17,4 +19,7 @@ else
 LIBEXOSIP2_CONF_OPT += --disable-openssl
 endif
 
+LIBEXOSIP2_CONF_OPT += \
+       --enable-mt=$(if $(BR2_TOOLCHAIN_HAS_THREADS),yes,no)
+
 $(eval $(autotools-package))