Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] libcurl: propagate buildroot debugging option
@ 2017-04-25 15:42 Olivier Valentin
  2017-04-29 14:18 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Olivier Valentin @ 2017-04-25 15:42 UTC (permalink / raw)
  To: buildroot

When buildroot has debugging enabled, let libcurl configure
its build accordingly.

Signed-off-by: Olivier Valentin <ovalentin@awox.com>
---
   package/libcurl/libcurl.mk | 4 ++++
   1 file changed, 4 insertions(+)

diff --git a/package/libcurl/libcurl.mk b/package/libcurl/libcurl.mk
index 6f4803e0c..cba771c61 100644
--- a/package/libcurl/libcurl.mk
+++ b/package/libcurl/libcurl.mk
@@ -22,6 +22,10 @@ LIBCURL_INSTALL_STAGING = YES
   LIBCURL_CONF_OPTS = --disable-manual --disable-ntlm-wb \
       --enable-hidden-symbols --with-random=/dev/urandom 
--disable-curldebug

+ifeq ($(BR2_ENABLE_DEBUG),y)
+LIBCURL_CONF_OPTS += --enable-debug
+endif
+
   ifeq ($(BR2_PACKAGE_LIBCURL_VERBOSE),y)
   LIBCURL_CONF_OPTS += --enable-verbose
   else
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-04-29 14:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-25 15:42 [Buildroot] libcurl: propagate buildroot debugging option Olivier Valentin
2017-04-29 14:18 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox