[PATCH] util-linux: fix build when libmagic is present

Sebastian Kemper sebastian_ml at gmx.net
Thu Sep 3 15:26:23 EDT 2020


On Tue, Sep 01, 2020 at 03:37:03PM -0700, Rosen Penev wrote:
> Signed-off-by: Rosen Penev <rosenp at gmail.com>
> ---

Acked-by: Sebastian Kemper <sebastian_ml at gmx.net>

Please apply to get util-linux building. We need libuuid for telephony
and others :-)

Regards,
Seb

>  package/utils/util-linux/Makefile | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/package/utils/util-linux/Makefile b/package/utils/util-linux/Makefile
> index 0fc9819c58..05ceaa413e 100644
> --- a/package/utils/util-linux/Makefile
> +++ b/package/utils/util-linux/Makefile
> @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
>
>  PKG_NAME:=util-linux
>  PKG_VERSION:=2.36
> -PKG_RELEASE:=1
> +PKG_RELEASE:=2
>
>  PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
>  PKG_SOURCE_URL:=@KERNEL/linux/utils/$(PKG_NAME)/v2.36
> @@ -526,6 +526,7 @@ CONFIGURE_ARGS += \
>  	--without-python		\
>  	--without-udev			\
>  	--without-readline		\
> +	--without-libmagic		\
>  	--with-ncursesw
>
>  TARGET_CFLAGS += $(FPIC) -std=gnu99



More information about the openwrt-devel mailing list