blob: 624cd2d7b00257c21fc7c29f4b6e6a0befac00f9 [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001From f1813af4c154fb1d3950abbdf678c3a5a67222fc Mon Sep 17 00:00:00 2001
2From: Li xin <lixin.fnst@cn.fujitsu.com>
3Date: Thu, 25 Jun 2015 11:44:27 +0900
4Subject: [PATCH] plmcd: error fix
5
6ld: cannot find -lsystemd-daemon
7collect2: error: ld returned 1 exit status
8
9Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com>
10---
11 contrib/plmc/plmcd/Makefile.am | 2 +-
12 contrib/plmc/plmcd/Makefile.in | 2 +-
13 2 files changed, 2 insertions(+), 2 deletions(-)
14
15diff --git a/contrib/plmc/plmcd/Makefile.am b/contrib/plmc/plmcd/Makefile.am
16index 8d847f2..dd7913a 100644
17--- a/contrib/plmc/plmcd/Makefile.am
18+++ b/contrib/plmc/plmcd/Makefile.am
19@@ -32,7 +32,7 @@ plmcd_SOURCES = \
20 plmcd_LDFLAGS = -lpthread
21
22 if ENABLE_SYSTEMD
23-plmcd_LDFLAGS += -lsystemd-daemon
24+plmcd_LDFLAGS += -lsystemd
25 endif
26
27 plmcd_LDADD = \
28diff --git a/contrib/plmc/plmcd/Makefile.in b/contrib/plmc/plmcd/Makefile.in
29index 0185dc4..e40513a 100644
30--- a/contrib/plmc/plmcd/Makefile.in
31+++ b/contrib/plmc/plmcd/Makefile.in
32@@ -106,7 +106,7 @@ build_triplet = @build@
33 host_triplet = @host@
34 target_triplet = @target@
35 sbin_PROGRAMS = plmcd$(EXEEXT)
36-@ENABLE_SYSTEMD_TRUE@am__append_1 = -lsystemd-daemon
37+@ENABLE_SYSTEMD_TRUE@am__append_1 = -lsystemd
38 subdir = plmcd
39 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
40 am__aclocal_m4_deps = $(top_srcdir)/configure.ac
41--
421.8.4.2
43