Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] uacme: fix build with BR2_PACKAGE_MBEDTLS_COMPRESSION
@ 2023-09-29  7:55 Nicola Di Lieto
  2023-09-30 13:56 ` Peter Korsgaard
  0 siblings, 1 reply; 2+ messages in thread
From: Nicola Di Lieto @ 2023-09-29  7:55 UTC (permalink / raw)
  To: buildroot

Fixes:
http://autobuild.buildroot.net/results/2083eca8030e3f7ed8df388a7c29bc5d672b9512/

Signed-off-by: Nicola Di Lieto <nicola.dilieto@gmail.com>
---
 package/uacme/uacme.mk | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/package/uacme/uacme.mk b/package/uacme/uacme.mk
index 9b2360937b..f1d53d8c80 100644
--- a/package/uacme/uacme.mk
+++ b/package/uacme/uacme.mk
@@ -13,12 +13,15 @@ UACME_LICENSE = GPL-3.0+
 UACME_LICENSE_FILES = COPYING
 UACME_DEPENDENCIES = libcurl
 
-UACME_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99'
+UACME_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99' LIBS="$(UACME_CONF_LIBS)"
 
 ifeq ($(BR2_PACKAGE_GNUTLS),y)
 UACME_CONF_OPTS += --with-gnutls
 UACME_DEPENDENCIES += gnutls
 else ifeq ($(BR2_PACKAGE_MBEDTLS),y)
+ifeq ($(BR2_PACKAGE_MBEDTLS_COMPRESSION),y)
+    UACME_CONF_LIBS += -lz
+endif
 UACME_CONF_OPTS += --with-mbedtls
 UACME_DEPENDENCIES += mbedtls
 else ifeq ($(BR2_PACKAGE_OPENSSL),y)
-- 
2.20.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH] uacme: fix build with BR2_PACKAGE_MBEDTLS_COMPRESSION
  2023-09-29  7:55 [Buildroot] [PATCH] uacme: fix build with BR2_PACKAGE_MBEDTLS_COMPRESSION Nicola Di Lieto
@ 2023-09-30 13:56 ` Peter Korsgaard
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2023-09-30 13:56 UTC (permalink / raw)
  To: Nicola Di Lieto; +Cc: buildroot

>>>>> "Nicola" == Nicola Di Lieto <nicola.dilieto@gmail.com> writes:

 > Fixes:
 > http://autobuild.buildroot.net/results/2083eca8030e3f7ed8df388a7c29bc5d672b9512/

 > Signed-off-by: Nicola Di Lieto <nicola.dilieto@gmail.com>

It is a bit unfortunate that mbedtls does not provide a .pc file.

Committed after extending the commit message to explain the situation,
thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2023-09-30 14:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-29  7:55 [Buildroot] [PATCH] uacme: fix build with BR2_PACKAGE_MBEDTLS_COMPRESSION Nicola Di Lieto
2023-09-30 13:56 ` Peter Korsgaard

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