From 35876858d1a94538f3a0b160e2d8a555c4a30612 Mon Sep 17 00:00:00 2001 From: Ronny Kotzschmar Date: Wed, 18 Aug 2021 19:08:29 +0200 Subject: [PATCH] libwebsockets: avoid a compilation error due to a missing uloop With a clean build environment and at least two parallel jobs a compilation error may occur: ... -- Looking for uv/version.h - found libubox include dir: ULOOP_INCLUDE_DIRS-NOTFOUND libubox libraries: ULOOP_LIBRARIES-NOTFOUND ... CMake Error in lib/event-libs/uloop/CMakeLists.txt: Found relative path while evaluating include directories of "websockets-evlib_uloop": "ULOOP_INCLUDE_DIRS-NOTFOUND" ... Signed-off-by: Ronny Kotzschmar --- libs/libwebsockets/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/libwebsockets/Makefile b/libs/libwebsockets/Makefile index df1f0a4d2..46460566b 100644 --- a/libs/libwebsockets/Makefile +++ b/libs/libwebsockets/Makefile @@ -21,6 +21,8 @@ PKG_SOURCE_VERSION:=v$(PKG_VERSION) PKG_LICENSE:=MIT PKG_LICENSE_FILES:=LICENSE +PKG_BUILD_DEPENDS:=libubox + CMAKE_INSTALL:=1 include $(INCLUDE_DIR)/package.mk