util-linux: Fix build when libmagic is present
authorRosen Penev <[email protected]>
Tue, 1 Sep 2020 22:37:03 +0000 (15:37 -0700)
committerHauke Mehrtens <[email protected]>
Sun, 6 Sep 2020 21:19:12 +0000 (23:19 +0200)
commit83e946d7183f6123fd8da492652a6aad1fb414fa
treea9129f13650a07359f43e3d17d97506d22fc8044
parent787de4331f0b01da114f16fcfaea5ecdfc010310
util-linux: Fix build when libmagic is present

When the libmagic from the file package in the packages feed was also
compiled and provided its libmagic.so file, util-linux tried to link
against it. Avoid this by explicitly disable libmagic support.

This fixes the following build error:
Package more is missing dependencies for the following libraries:
libmagic.so.1

Fixes: 36d9ed360a34 ("util-linux: update to 2.36")
Acked-by: Sebastian Kemper <[email protected]>
Signed-off-by: Rosen Penev <[email protected]>
[Add commit description]
Signed-off-by: Hauke Mehrtens <[email protected]>
package/utils/util-linux/Makefile