Re: Fix building util-linux on non-linux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Nov 17, 2020 at 09:20:17PM +0100, Samuel Thibault wrote:
> Hello,
> 
> The attached patch fixes building on non-linux
> 
> Samuel

> diff --git a/login-utils/Makemodule.am b/login-utils/Makemodule.am
> index 4f52cea3c..8bc3ee37e 100644
> --- a/login-utils/Makemodule.am
> +++ b/login-utils/Makemodule.am
> @@ -31,8 +31,10 @@ dist_man_MANS += login-utils/sulogin.8
>  sulogin_SOURCES = \
>  	login-utils/sulogin.c \
>  	login-utils/sulogin-consoles.c \
> -	login-utils/sulogin-consoles.h \
> -	lib/plymouth-ctrl.c
> +	login-utils/sulogin-consoles.h
> +if USE_PLYMOUTH_SUPPORT
> +sulogin_SOURCES += lib/plymouth-ctrl.c
> +endif
>  sulogin_LDADD = $(LDADD) libcommon.la

Yep, stupid bug. Fixed by https://github.com/karelzak/util-linux/pull/1190.

    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux