libsolv: Enable rpm packageconfig by default only if rpm O_P_M is enabled
PATCH 1/1 libsolv: Enable rpm packageconfig by default only if rpm O_P_M is enabled
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 <[email protected]>
--- meta/recipes-extended/libsolv/libsolv_0.7.10.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-extended/libsolv/libsolv_0.7.10.bb +1 -1
@@ -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"
Signature · 1 line
2.25.0