Skip to contentSkip to conversation

uacme: fix build with BR2_PACKAGE_MBEDTLS_COMPRESSION

PATCH In review Nicola Di Lieto 2 participants 2 messages Sep 29, 2023 – Sep 30, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 uacme: fix build with BR2_PACKAGE_MBEDTLS_COMPRESSION

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

---
 package/uacme/uacme.mk | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
package/uacme/uacme.mk +4 -1
index 9b2360937b..f1d53d8c80 100644
@@ -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)
Signature · 6 lines
2.20.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Nicola" == Nicola Di Lieto <[email protected]> writes:

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

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

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

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot