re2: remove dev dependencies from main package

It's a bad idea to add dev dependencies to main package.
It's pulling build dependencies including toolchain items.

The dependencies "were needed" because main package contains
packageconfig file.
This can be fixed by correct packaging.

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Peter Marko 2024-05-08 13:16:09 +02:00 committed by Khem Raj
parent a1e16928bb
commit a69bde04be
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -16,9 +16,6 @@ DEPENDS = "abseil-cpp ${@bb.utils.contains('PTEST_ENABLED', '1', 'gtest googlebe
inherit cmake ptest
RDEPENDS:${PN}-ptest += "cmake sed"
RDEPENDS:${PN} += "abseil-cpp-dev"
INSANE_SKIP:${PN} += "dev-deps"
EXTRA_OECMAKE += " \
-DBUILD_SHARED_LIBS=ON \
@ -39,6 +36,6 @@ FILES:${PN} = "${libdir}"
INSANE_SKIP:${PN} += "dev-so"
# Don't include so files in dev package
FILES:${PN}-dev = "${includedir} ${libdir}/cmake"
FILES:${PN}-dev = "${includedir} ${libdir}/cmake ${libdir}/pkgconfig"
BBCLASSEXTEND = "native nativesdk"