fix ldconfig build issue. This patch is a backport from upstream: 18c9cf7d37 Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
18c9cf7d37