[systemd-devel] [PATCH] FIx compilation of nspawn when seccomp is not enabled

Lennart Poettering lennart at poettering.net
Thu Feb 20 18:10:43 PST 2014


On Thu, 20.02.14 16:07, misc at zarb.org (misc at zarb.org) wrote:

Thanks! Applied!

> From: Michael Scherer <misc at zarb.org>
> 
> ---
>  Makefile.am | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)
> 
> diff --git a/Makefile.am b/Makefile.am
> index 08b94d7..e4ff7de 100644
> --- a/Makefile.am
> +++ b/Makefile.am
> @@ -1868,9 +1868,13 @@ systemd_nspawn_LDADD = \
>  	libsystemd-capability.la \
>  	libsystemd-internal.la \
>  	libudev-internal.la \
> -	libsystemd-shared.la \
> +	libsystemd-shared.la
> +
> +if HAVE_SECCOMP
> +systemd_nspawn_LDADD += \
>  	libsystemd-seccomp.la \
>  	$(SECCOMP_LIBS)
> +endif
>  
>  # ------------------------------------------------------------------------------
>  systemd_run_SOURCES = \


Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list