From: Jonathan Creekmore Subject: [PATCH v2] oxenstored: link in the systemd system library Date: Thu, 23 Jul 2015 08:40:39 -0500 Message-ID: <1437658839-10478-1-git-send-email-jonathan.creekmore@gmail.com> References: <1437640914.19412.33.camel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1ZIGkE-0007ny-TR for xen-devel@lists.xenproject.org; Thu, 23 Jul 2015 13:41:07 +0000 Received: by ykay190 with SMTP id y190so219484555yka.3 for ; Thu, 23 Jul 2015 06:41:04 -0700 (PDT) In-Reply-To: <1437640914.19412.33.camel@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xenproject.org Cc: Jonathan Creekmore , dave.scott@eu.citrix.com List-Id: xen-devel@lists.xenproject.org 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 --- 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 \ -- 2.1.4