build: ensure that dash isn't prepended twice to abi version suffix
authorJo-Philipp Wich <jo@mein.io>
Tue, 15 Jun 2021 07:54:45 +0000 (09:54 +0200)
committerJo-Philipp Wich <jo@mein.io>
Tue, 15 Jun 2021 07:58:33 +0000 (09:58 +0200)
commitfbb9b1f8ed0d8a76dd989cc6c16a4e0fda2b6e74
treef86661c4a2d068ef76341e9fe164bd3d21c0b864
parent946019637ec9192450c685a61c589a9cbef7637b
build: ensure that dash isn't prepended twice to abi version suffix

The ABIV_$(pkgname) variable already is formatted so return it as-is from
the GetABISuffix macro and only filter through FormatABISuffix if we read
the raw ABI version value from a version stamp file.

This ensures that binary intra-package dependencies on ABI versioned
libraries are properly formatted.

Ref: https://github.com/openwrt/packages/issues/15871
Fixes: f6a03bff5b ("build: prepend ABI suffixes with a dash if package name ends with digit")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
include/feeds.mk