libwebsockets: avoid a compilation error due to a missing uloop
authorRonny Kotzschmar <redacted>
Wed, 18 Aug 2021 17:08:29 +0000 (19:08 +0200)
committerKarl Palsson <redacted>
Fri, 20 Aug 2021 10:31:49 +0000 (10:31 +0000)
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 <redacted>
libs/libwebsockets/Makefile

index df1f0a4d258d1057264ceae39c040096c4b0218d..46460566be7204d84ac4fb6ce0002253da96dc3c 100644 (file)
@@ -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
git clone https://git.99rst.org/PROJECT