[Buildroot] [git commit] package/libeXosip2: add optional support for c-ares
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Sun Feb 21 13:39:10 UTC 2016
commit: https://git.buildroot.net/buildroot/commit/?id=88b756986a46340603676397383a07cf5580101f
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
When c-ares was compiled before, libeXosip2 will use it as optional
dependency:
$ output/host/usr/bin/x86_64-linux-readelf -a output/target/usr/bin/sip_reg | grep NEEDED | sort
0x0000000000000001 (NEEDED) Shared library: [libcares.so.2]
[...]
The build system offers no option to en-/disable c-ares support:
http://git.savannah.gnu.org/cgit/exosip.git/tree/configure.in?h=exosip-3.X.X#n208
Signed-off-by: Bernd Kuhls <bernd.kuhls at t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
package/libeXosip2/libeXosip2.mk | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/package/libeXosip2/libeXosip2.mk b/package/libeXosip2/libeXosip2.mk
index d7d0af8..d101f95 100644
--- a/package/libeXosip2/libeXosip2.mk
+++ b/package/libeXosip2/libeXosip2.mk
@@ -20,6 +20,10 @@ ifeq ($(BR2_arc),y)
LIBEXOSIP2_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -U__arc__"
endif
+ifeq ($(BR2_PACKAGE_C_ARES),y)
+LIBEXOSIP2_DEPENDENCIES += c-ares
+endif
+
ifeq ($(BR2_PACKAGE_OPENSSL),y)
LIBEXOSIP2_DEPENDENCIES += openssl
LIBEXOSIP2_CONF_OPTS += --enable-openssl
More information about the buildroot
mailing list