oxenstored: link in the systemd system library
authorJonathan Creekmore <jonathan.creekmore@gmail.com>
Thu, 23 Jul 2015 13:40:39 +0000 (08:40 -0500)
committerIan Campbell <ian.campbell@citrix.com>
Fri, 24 Jul 2015 09:49:33 +0000 (10:49 +0100)
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@gmail.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/ocaml/xenstored/Makefile

index d861f113153093f1552ba9ee203635325213819b..59875f70866a6086c8f8c2a14217526ec840b5c4 100644 (file)
@@ -30,6 +30,8 @@ systemd_OBJS = systemd
 systemd_C_OBJS = systemd_stubs
 OCAML_LIBRARY += systemd
 
+LIBS_systemd += $(LDFLAGS-y)
+
 OBJS = define \
        stdext \
        trie \