[lxc-devel] [PATCH 6/6] Fix building init.lxc.static under bionic

Serge Hallyn serge.hallyn at ubuntu.com
Tue Jun 3 03:07:28 UTC 2014


(Should have kept the whole commit message - this one is

Author: Stéphane Graber <stgraber at ubuntu.com>
)

Quoting Serge Hallyn (serge.hallyn at ubuntu.com):
> Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
> Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>
> ---
>  src/lxc/Makefile.am | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/src/lxc/Makefile.am b/src/lxc/Makefile.am
> index 588a3ab..2403bd7 100644
> --- a/src/lxc/Makefile.am
> +++ b/src/lxc/Makefile.am
> @@ -234,6 +234,13 @@ lxc_usernsexec_SOURCES = lxc_usernsexec.c
>  lxc_user_nic_SOURCES = lxc_user_nic.c network.c network.h
>  
>  init_lxc_static_SOURCES = lxc_init.c error.c log.c utils.c caps.c
> +
> +if !HAVE_GETLINE
> +if HAVE_FGETLN
> +init_lxc_static_SOURCES += ../include/getline.c
> +endif
> +endif
> +
>  init_lxc_static_LDFLAGS = -static
>  init_lxc_static_LDADD = @CAP_LIBS@
>  
> -- 
> 2.0.0
> 
> _______________________________________________
> lxc-devel mailing list
> lxc-devel at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-devel


More information about the lxc-devel mailing list