]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
libgcrypt: drop -unknown suffix from version number
authorYi Zhao <yi.zhao@eng.windriver.com>
Wed, 2 Jul 2025 07:28:55 +0000 (15:28 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 3 Jul 2025 09:38:22 +0000 (10:38 +0100)
Include drop-unknown-suffix.inc to remove unknown suffix in runtime
version.

Befor the fix:
$ mpicalc --version
mpicalc 2.0
libgcrypt 1.11.0-unknown

After the fix:
$ mpicalc --version
mpicalc 2.0
libgcrypt 1.11.0

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-support/libgcrypt/libgcrypt_1.11.1.bb

index 5574e8c821ef0d29246c0adbf9b37f32904338a6..14cbe5364737acf148dd9485c9af8f385f741725 100644 (file)
@@ -32,6 +32,8 @@ BINCONFIG = "${bindir}/libgcrypt-config"
 
 inherit autotools texinfo binconfig-disabled pkgconfig ptest
 
+require recipes-support/gnupg/drop-unknown-suffix.inc
+
 EXTRA_OECONF = "--disable-asm"
 EXTRA_OEMAKE:class-target = "LIBTOOLFLAGS='--tag=CC'"