From 23b87e315962b8cb79219e7782c24b6700ebeff4 Mon Sep 17 00:00:00 2001 From: Changqing Li Date: Thu, 10 Feb 2022 09:52:43 +0800 Subject: [PATCH] nghttp2: fix for multilib support Update package name to fix following error: ERROR: Required build target 'lib32-core-image-minimal' has no buildable providers. Missing or unbuildable dependency chain was: ['lib32-core-image-minimal', 'lib32-libnghttp2'] for lib32 image, lib{PN} will be expanded as lib32-liblib32-nghttp2, so above error occurs, update lib{PN} to lib{BPN} to fix it. Signed-off-by: Changqing Li Signed-off-by: Richard Purdie --- meta/recipes-support/nghttp2/nghttp2_1.46.0.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-support/nghttp2/nghttp2_1.46.0.bb b/meta/recipes-support/nghttp2/nghttp2_1.46.0.bb index 972ff2d60a..0ad45ed2c7 100644 --- a/meta/recipes-support/nghttp2/nghttp2_1.46.0.bb +++ b/meta/recipes-support/nghttp2/nghttp2_1.46.0.bb @@ -19,7 +19,7 @@ PACKAGECONFIG[manpages] = "" # first place EXTRA_OECMAKE = "-DENABLE_EXAMPLES=OFF -DENABLE_APP=OFF -DENABLE_HPACK_TOOLS=OFF" -PACKAGES =+ "lib${PN} ${PN}-client ${PN}-proxy ${PN}-server" +PACKAGES =+ "lib${BPN} ${PN}-client ${PN}-proxy ${PN}-server" RDEPENDS:${PN} = "${PN}-client (>= ${PV}) ${PN}-proxy (>= ${PV}) ${PN}-server (>= ${PV})" RDEPENDS:${PN}:class-native = "" @@ -27,7 +27,7 @@ RDEPENDS:${PN}-proxy = "openssl python3-core python3-io python3-shell" ALLOW_EMPTY:${PN} = "1" FILES:${PN} = "" -FILES:lib${PN} = "${libdir}/*${SOLIBS}" +FILES:lib${BPN} = "${libdir}/*${SOLIBS}" FILES:${PN}-client = "${bindir}/h2load ${bindir}/nghttp" FILES:${PN}-proxy = "${bindir}/nghttpx ${datadir}/${BPN}/fetch-ocsp-response" FILES:${PN}-server = "${bindir}/nghttpd" -- 2.40.1