probe: fallback to libblkid.so.1 when libblkid.so does not exist
authorJo-Philipp Wich <jo@mein.io>
Wed, 28 Aug 2019 10:19:29 +0000 (12:19 +0200)
committerJo-Philipp Wich <jo@mein.io>
Wed, 28 Aug 2019 10:19:29 +0000 (12:19 +0200)
commit6a61b9ac105b8eb28680e728a2723e302a91304d
tree22b92a7083e2a122864efe43ebaaa91d8350aaf5
parent1539b535ac327a3bc599d1ca871e14fd0dc3bba1
probe: fallback to libblkid.so.1 when libblkid.so does not exist

OpenWrt commit 0e70f69a35 ("treewide: revise library packaging") removed
the unversioned library symlink from the libblkid package, breaking
dynamic loading of the library at runtime.

Add a fallback to "libblkid.so.1" to allow using the dynamic library
for filesystem probing again.

Fixes: FS#2274
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
probe-libblkid.c