[PATCH] firmware-utils: add required PKG_BUILD_DEPENDS
Rafał Miłecki
zajec5 at gmail.com
Thu Jun 1 08:40:30 PDT 2023
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.
Reported-by: Hauke Mehrtens <hauke at hauke-m.de>
Signed-off-by: Rafał Miłecki <rafal at milecki.pl>
---
package/utils/firmware-utils/Makefile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/package/utils/firmware-utils/Makefile b/package/utils/firmware-utils/Makefile
index f49cca01bb..2f77d001ff 100644
--- a/package/utils/firmware-utils/Makefile
+++ b/package/utils/firmware-utils/Makefile
@@ -11,6 +11,8 @@ PKG_SOURCE_DATE:=2023-05-18
PKG_SOURCE_VERSION:=02cdbc6a4d61605c008efef09162f772f553fcde
PKG_MIRROR_HASH:=f5188fc38bb03ddbcc34763ff049597e2d8af98c0854910dc87f10e5927096e2
+PKG_BUILD_DEPENDS:=openssl zlib
+
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/cmake.mk
--
2.35.3
More information about the openwrt-devel
mailing list