build: add support for fixing up library soname
authorFelix Fietkau <nbd@nbd.name>
Fri, 12 Feb 2021 08:56:56 +0000 (09:56 +0100)
committerFelix Fietkau <nbd@nbd.name>
Sun, 14 Feb 2021 18:41:51 +0000 (19:41 +0100)
commitb12288fa69b171f7c9405518c9bed3581a06f7ce
treedb40d7bf49aa76eb0cb6be8c0cacb9e2cbebe79d
parent8597da20acce8533a538d436a536795a61b2e8e0
build: add support for fixing up library soname

This makes it possible to declare a package ABI_VERSION independent from the
upstream soname by setting PKG_ABI_VERSION in the package makefile.
The library filename is fixed up for files installed to packages and to the
staging dir. References to the original from executables within the same
package are also fixed up

Signed-off-by: Felix Fietkau <nbd@nbd.name>
include/package-ipkg.mk
include/package.mk
rules.mk
scripts/set-abi-version.sh [new file with mode: 0755]