[PATCH] firmware-utils: add required PKG_BUILD_DEPENDS

Rafał Miłecki zajec5 at gmail.com
Thu Jul 20 22:43:30 PDT 2023


On 1.06.2023 17:40, Rafał Miłecki wrote:
> From: Rafał Miłecki <rafal at milecki.pl>
> 
> This project provides a lot of independent utils. Most of them don't
> depend on SSL (or zlib). Build process however compiles all of them
> including those few that require SSL/ZLIB.
> 
> To make copmilation step always succeed it's needed to specify build
> time dependencies.
> 
> Runtime dependencies will be handled per-package (if we ever package one
> of those needing SSL/ZLIB).
> 
> This fixes:
> -- Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
> -- Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY OPENSSL_INCLUDE_DIR)
> CMake Error at CMakeLists.txt:9 (MESSAGE):
>    Unable to find zlib library.

While I like my own commit description a lot ;) this PATCH been
obsoleted by the

commit 6f607ba043cdc996cd113b8dc25b6965dc1d9a41
Author: Tianling Shen <cnsztl at immortalwrt.org>
Date:   Thu Jun 1 17:35:16 2023 +0800

     firmware-utils: add missing build dependencies



More information about the openwrt-devel mailing list