[systemd-devel] [PATCH] test-unit-file: Add libsystemd-daemon.la to LDADD

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Thu Jan 24 13:42:44 PST 2013


On Tue, Jan 22, 2013 at 06:32:49PM -0800, Khem Raj wrote:
> test-unit-file links with libsystemd-core which needs
> sd_* symbols from libsystemd-daemon
Hi,
libsystemd-core is linked with libsystemd-daemon on its own.
Thus this patch shouldn't be necessary. Are you observing
some actual build brackage? If so, what arch?

Zbyszek

> Signed-off-by: Khem Raj <raj.khem at gmail.com>
> ---
>  Makefile.am |    3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/Makefile.am b/Makefile.am
> index 7d5bd5a..884227a 100644
> --- a/Makefile.am
> +++ b/Makefile.am
> @@ -1270,7 +1270,8 @@ test_unit_file_CFLAGS = \
>  	$(DBUS_CFLAGS)
>  
>  test_unit_file_LDADD = \
> -	libsystemd-core.la
> +	libsystemd-core.la \
> +	libsystemd-daemon.la


More information about the systemd-devel mailing list