]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
zstd: add libzstd package
authorStefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Mon, 28 Mar 2022 09:32:39 +0000 (11:32 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 29 Mar 2022 14:58:38 +0000 (15:58 +0100)
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 <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/zstd/zstd_1.5.2.bb

index 0ddff469b82d259a928bcc1736556af8428a3fe2..3887f31ecfa2946f70efa45108454473d32376b4 100644 (file)
@@ -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"