* [Buildroot] [PATCH 1/1] package/libeXosip2: add optional support for c-ares
@ 2016-02-20 23:00 Bernd Kuhls
2016-02-21 13:43 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Bernd Kuhls @ 2016-02-20 23:00 UTC (permalink / raw)
To: buildroot
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@t-online.de>
---
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
--
2.7.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH 1/1] package/libeXosip2: add optional support for c-ares
2016-02-20 23:00 [Buildroot] [PATCH 1/1] package/libeXosip2: add optional support for c-ares Bernd Kuhls
@ 2016-02-21 13:43 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2016-02-21 13:43 UTC (permalink / raw)
To: buildroot
Dear Bernd Kuhls,
On Sun, 21 Feb 2016 00:00:25 +0100, Bernd Kuhls wrote:
> 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@t-online.de>
> ---
> package/libeXosip2/libeXosip2.mk | 4 ++++
> 1 file changed, 4 insertions(+)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-02-21 13:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-20 23:00 [Buildroot] [PATCH 1/1] package/libeXosip2: add optional support for c-ares Bernd Kuhls
2016-02-21 13:43 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox