Skip to content

Commit

Permalink
libuhttp: don't build examples
Browse files Browse the repository at this point in the history
Speeds up compilation and potentially fixes it.

Signed-off-by: Rosen Penev <[email protected]>
  • Loading branch information
neheb authored and graysky2 committed Feb 3, 2022
1 parent 05c85fc commit 4c1e440
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion libs/libuhttpd/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -40,6 +40,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)
Expand Down

0 comments on commit 4c1e440

Please sign in to comment.