rpcd-mod-luci: allow finding suffixed libwinfo.so
authorJo-Philipp Wich <jo@mein.io>
Fri, 8 Jan 2021 17:25:29 +0000 (18:25 +0100)
committerJo-Philipp Wich <jo@mein.io>
Fri, 8 Jan 2021 17:34:17 +0000 (18:34 +0100)
commitbc121a5a456b564618423b67a6aef859c0ba6a87
tree010b0d51e4dc4426b81026442b434d8b47c64659
parent3d783bac13ba0c2406e0c00ca84eab7d4e49c4a7
rpcd-mod-luci: allow finding suffixed libwinfo.so

Recent versions ship a version suffixed libiwinfo.so, therefor we cannot
rely on a fixed path name anymore. Use globbing to find matching libraries
and load the first one we find.

Fixes: #4718
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
libs/rpcd-mod-luci/src/luci.c