[2/2] libeXosip2: disable multi-thread support for toolchains without threads

Submitted by gilles.talis@gmail.com on May 15, 2013, 9:47 p.m.

Details

Message ID 1368654452-16294-2-git-send-email-gilles.talis@gmail.com
State Accepted
Commit fb1ba5dff1748226c13cb92320f5171c026a47ca
Headers show

Commit Message

gilles.talis@gmail.com May 15, 2013, 9:47 p.m.
Also added license information

Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
---
 package/libeXosip2/libeXosip2.mk |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

Patch hide | download patch | download mbox

diff --git a/package/libeXosip2/libeXosip2.mk b/package/libeXosip2/libeXosip2.mk
index d72ab61..7fef1a6 100644
--- a/package/libeXosip2/libeXosip2.mk
+++ b/package/libeXosip2/libeXosip2.mk
@@ -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))