From fd86eba02974c68b7fb9d8d43adc9687025f3204 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Mon, 6 Sep 2021 01:55:37 -0700 Subject: [PATCH] libuhttp: don't build examples Speeds up compilation and potentially fixes it. Signed-off-by: Rosen Penev (cherry picked from commit 21e5a1e7d3e55a0c49af9e5a6c8dee6c0255f507) --- libs/libuhttpd/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libs/libuhttpd/Makefile b/libs/libuhttpd/Makefile index 7c6a4e0903..5abe21ddd4 100644 --- a/libs/libuhttpd/Makefile +++ b/libs/libuhttpd/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libuhttpd PKG_VERSION:=3.12.1 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL=https://github.com/zhaojh329/libuhttpd/releases/download/v$(PKG_VERSION) @@ -41,6 +41,8 @@ Package/libuhttpd-wolfssl=$(call Package/libuhttpd/Default,wolfssl,+PACKAGE_libu Package/libuhttpd-mbedtls=$(call Package/libuhttpd/Default,mbedtls,+PACKAGE_libuhttpd-mbedtls:libmbedtls +PACKAGE_libuhttpd-mbedtls:zlib) Package/libuhttpd-nossl=$(call Package/libuhttpd/Default,nossl) +CMAKE_OPTIONS += -DBUILD_EXAMPLE=OFF + ifeq ($(BUILD_VARIANT),openssl) CMAKE_OPTIONS += -DUSE_OPENSSL=ON else ifeq ($(BUILD_VARIANT),wolfssl) -- 2.30.2