[OE-core] [PATCH 1/2] libsolv: Enable rpm packageconfig by default only if rpm O_P_M is enabled
Khem Raj
raj.khem at gmail.com
Thu Feb 20 16:53:17 UTC 2020
opkg also depends on libsolv and can needlessly pull in rpm even if
the O_P_M does not desire to use rpm
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
meta/recipes-extended/libsolv/libsolv_0.7.10.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-extended/libsolv/libsolv_0.7.10.bb b/meta/recipes-extended/libsolv/libsolv_0.7.10.bb
index 502f4e0e85..265a27c00d 100644
--- a/meta/recipes-extended/libsolv/libsolv_0.7.10.bb
+++ b/meta/recipes-extended/libsolv/libsolv_0.7.10.bb
@@ -18,7 +18,7 @@ S = "${WORKDIR}/git"
inherit cmake
-PACKAGECONFIG ??= "rpm"
+PACKAGECONFIG ??= "${@bb.utils.contains('PACKAGE_CLASSES','package_rpm','rpm','',d)}"
PACKAGECONFIG[rpm] = "-DENABLE_RPMMD=ON -DENABLE_RPMDB=ON,,rpm"
EXTRA_OECMAKE = "-DMULTI_SEMANTICS=ON -DENABLE_COMPLEX_DEPS=ON"
--
2.25.1
More information about the Openembedded-core
mailing list