package/pigpio: add soversion to shared libraries
authorGrzegorz Blach <grzegorz@blach.pl>
Thu, 26 Sep 2019 19:39:17 +0000 (19:39 +0000)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Fri, 27 Sep 2019 20:22:56 +0000 (22:22 +0200)
commitbc224938d0ae3468c0e916eda378d9d0551bd91c
tree08211260ec2d454fa621ba541bcd0b9d4f66d1b9
parent66b7f142067703d334c39bcade7d661da6f43e06
package/pigpio: add soversion to shared libraries

The SONAME of the libraries installed by pigpio now contain a major
version number:

$ readelf -d output/target/usr/lib/libpigpio* | grep soname
 0x0000000e (SONAME)                     Library soname: [libpigpiod_if2.so.1]
 0x0000000e (SONAME)                     Library soname: [libpigpiod_if.so.1]
 0x0000000e (SONAME)                     Library soname: [libpigpio.so.1]

So we must make sure they are installed with this name, and not just
with a .so extension. For consistency, we do the same logic for both
the target and the staging installation.

Signed-off-by: Grzegorz Blach <grzegorz@blach.pl>
[Thomas: improve commit log]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/pigpio/pigpio.mk