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

Re: [Xen-devel] [PATCH v2] oxenstored: link in the systemd system library



On Thu, 2015-07-23 at 08:40 -0500, Jonathan Creekmore wrote:
> If systemd is configured for use AND you are building oxenstored, the 
> C
> systemd library must be linked in to the systemd.cxma library.
> 
> Signed-off-by: Jonathan Creekmore <jonathan.creekmore@xxxxxxxxx>

Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx>

OOI what was the failure mode for you without this? Runtime rather than
build time I suspect?

> ---
> Changed since v1:
>   * Link the systemd library in to the systemd.cxma instead of the 
> final
>   binary.
> ---
>  tools/ocaml/xenstored/Makefile | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/tools/ocaml/xenstored/Makefile 
> b/tools/ocaml/xenstored/Makefile
> index d861f11..59875f7 100644
> --- a/tools/ocaml/xenstored/Makefile
> +++ b/tools/ocaml/xenstored/Makefile
> @@ -30,6 +30,8 @@ systemd_OBJS = systemd
>  systemd_C_OBJS = systemd_stubs
>  OCAML_LIBRARY += systemd
>  
> +LIBS_systemd += $(LDFLAGS-y)
> +
>  OBJS = define \
>       stdext \
>       trie \

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.