package/azure-iot-sdk-c: fix installation of libumqtt
authorStephan Hoffmann <stephan.hoffmann@ext.grandcentrix.net>
Mon, 13 Apr 2020 13:22:31 +0000 (15:22 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 13 Apr 2020 13:43:11 +0000 (15:43 +0200)
commit570dd0c31b2149cd913866eb6777caa4a1b05a56
tree3ed8fb3c964f7008076abe89db9ca976e8986d9e
parent43822bb6db8851df4d6568622b58196895028f91
package/azure-iot-sdk-c: fix installation of libumqtt

Unlike the other libraries built by azure-iot-sdk-c, libumqtt follows
a regular versioning scheme. It has a libumqtt.so.1 SONAME, with
libumqtt.so.1 being a symlink to libumqtt.so.1.1.11.

However, we currently install the library itself as libumqtt.so to the
target filesystem, which is not its SONAME, which means it cannot be
found by any other library/program linked against it.

This commit fixes that by installing the library as
libumqtt.so.1.1.11, and creating the appropriate symlinks. The static
library installation is not modified.

Signed-off-by: Stephan Hoffmann <stephan.hoffmann@ext.grandcentrix.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/azure-iot-sdk-c/azure-iot-sdk-c.mk