libgcrypt: drop -unknown suffix from version number

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

(From OE-Core rev: 62e82a9410c66fa3f7607243bfc44faa159edbe2)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Yi Zhao 2025-07-02 15:28:55 +08:00 committed by Richard Purdie
parent c2febebbf1
commit 87af74ba63

View 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'"