[systemd-devel] [PATCH] libsystemd-login.so: fix undefined reference to 'cg_create'

Lennart Poettering lennart at poettering.net
Tue Sep 10 09:02:55 PDT 2013


On Mon, 26.08.13 13:48, Chengwei Yang (chengwei.yang at intel.com) wrote:

Hmm, can you elaborate on this one? libsystemd-login should be mostly
passive, why would it need to change labels? What's the missing link
here precisely?

> ---
>  Makefile.am |    1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/Makefile.am b/Makefile.am
> index 5654ad3..dc5170a 100644
> --- a/Makefile.am
> +++ b/Makefile.am
> @@ -3870,6 +3870,7 @@ libsystemd_login_la_LDFLAGS = \
>  	-Wl,--version-script=$(top_srcdir)/src/login/libsystemd-login.sym
>  
>  libsystemd_login_la_LIBADD = \
> +	libsystemd-label.la \
>  	libsystemd-shared.la \
>  	libsystemd-daemon-internal.la \
>  	$(RT_LIBS)


Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list