pjproject is as per https://github.com/pjsip/pjproject/issues/3420
highly resistent to ABI stability and does not want to set appropriate
SONAME's to change whenever the ABIs changes.
Alpine has already committed a similar patch in order to mitigate (which
can be found at
https://github.com/alpinelinux/aports/commit/efdf20262b619671f8e5a227a2a81bf58275eef9),
but that's a one-off hit and run type commit that will need to be
manually updated on every release version.
Thus my variation that just use the full release version as per
https://github.com/pjsip/pjproject/pull/4905
This enables preserved-libs in Gentoo to function correctly, allowing
tools built against pjproject (including asterisk) to function correctly
on restart or re-exec.
Gentoo already had := in asterisk, but currently should asterisk (and
some other tools from ULS side not in tree - nor appropriate for public
release) be re-exec'ed or invoked between pjproject upgrade and asterisk
rebuild then things break in weird and wonderful ways, and if you're
lucky it breaks properly rather than causing corruption.
Signed-off-by: Jaco Kroon <jkroon@gentoo.org>