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

Petr Štetiar ynezz at true.cz
Fri Sep 4 02:29:27 EDT 2020


Rosen Penev <rosenp at gmail.com> [2020-09-01 15:37:03]:

>From https://openwrt.org/submitting-patches, section about commit description:

 "it will be committed to the source changelog, so it should explain to a
  competent reader why you made this commit.  Include symptoms of the failure
  you are fixing (log messages, error messages, etc.), it will be useful for
  people searching the commit logs looking for a fix for their issue.  If a
  patch fixes a compile failure, include only the most relevant part of the
  failure log"

Thanks.

> Signed-off-by: Rosen Penev <rosenp at gmail.com>
> ---
>  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
> -- 
> 2.26.2
> 
> 
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
> 

-- 
ynezz



More information about the openwrt-devel mailing list