diff options
author | Yi Zhao <yi.zhao@eng.windriver.com> | 2025-07-02 15:28:56 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-07-03 10:40:16 +0100 |
commit | cd6104d347cc25dc8b452c8b993443e5eca64634 (patch) | |
tree | 302664510a0e9f556fb3c68da40700bf557d8d4a | |
parent | 87af74ba634f02185b0d380b6b9c08f248aead02 (diff) | |
download | poky-cd6104d347cc25dc8b452c8b993443e5eca64634.tar.gz |
libassuan: drop -unknown suffix from version number
Include drop-unknown-suffix.inc to remove unknown suffix from version in
pc file.
Befor the fix:
$ cat /usr/lib/pkgconfig/libassuan.pc
[snip]
Name: libassuan
Description: IPC library for the GnuPG components
Requires.private: gpg-error
Version: 3.0.2-unknown
Cflags: -I${includedir}
[snip]
After the fix:
$ cat /usr/lib/pkgconfig/libassuan.pc
[snip]
Name: libassuan
Description: IPC library for the GnuPG components
Requires.private: gpg-error
Version: 3.0.2
Cflags: -I${includedir}
[snip]
(From OE-Core rev: 531a71a265c1db25ebea86f6d8c6b2f436145858)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-support/libassuan/libassuan_3.0.2.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-support/libassuan/libassuan_3.0.2.bb b/meta/recipes-support/libassuan/libassuan_3.0.2.bb index f0b7746284..0d2ccce989 100644 --- a/meta/recipes-support/libassuan/libassuan_3.0.2.bb +++ b/meta/recipes-support/libassuan/libassuan_3.0.2.bb | |||
@@ -26,6 +26,8 @@ BINCONFIG = "${bindir}/libassuan-config" | |||
26 | 26 | ||
27 | inherit autotools texinfo binconfig-disabled pkgconfig multilib_header | 27 | inherit autotools texinfo binconfig-disabled pkgconfig multilib_header |
28 | 28 | ||
29 | require recipes-support/gnupg/drop-unknown-suffix.inc | ||
30 | |||
29 | do_configure:prepend () { | 31 | do_configure:prepend () { |
30 | # Else these could be used in preference to those in aclocal-copy | 32 | # Else these could be used in preference to those in aclocal-copy |
31 | rm -f ${S}/m4/*.m4 | 33 | rm -f ${S}/m4/*.m4 |