From: Stefan Herbrechtsmeier Date: Mon, 28 Mar 2022 09:32:39 +0000 (+0200) Subject: zstd: add libzstd package X-Git-Tag: uninative-3.6~105 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=59041a5f945d480503e391f5f210f383412646b9;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git zstd: add libzstd package Add a libzstd package to remove libstdc++ runtime dependency from library users and reduce the dependencies and size of the library package. Add a lib package instead of a bin package to use a similar name as other buildtools and be backward compatible. Signed-off-by: Stefan Herbrechtsmeier Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-extended/zstd/zstd_1.5.2.bb b/meta/recipes-extended/zstd/zstd_1.5.2.bb index 0ddff469b82..3887f31ecfa 100644 --- a/meta/recipes-extended/zstd/zstd_1.5.2.bb +++ b/meta/recipes-extended/zstd/zstd_1.5.2.bb @@ -36,4 +36,8 @@ do_install () { oe_runmake install 'DESTDIR=${D}' PREFIX=${prefix} -C contrib/pzstd } +PACKAGE_BEFORE_PN = "libzstd" + +FILES:libzstd = "${libdir}/libzstd${SOLIBS}" + BBCLASSEXTEND = "native nativesdk"