File tgt-fix-libs-for-current-systemd-linker-name of Package tgt.1424

From: Andy Grover <agrover@redhat.com>
Date: Tue, 10 Feb 2015 13:55:28 -0800
Subject: Fix libs for current systemd linker name
Git-commit: 580cf2d9c041ede11c66b9a3dfa3dcbd9b35db69
Patch-mainline: v1.0.56

Systemd versions since 210 (Feb 2014) have merged libsystemd-daemon into
libsystemd.

Signed-off-by: Andy Grover <agrover@redhat.com>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Acked-by: Lee Duncan <lduncan@suse.com>
---
 usr/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/usr/Makefile b/usr/Makefile
index 817a3fbf13bd..1fae7e71ff27 100644
--- a/usr/Makefile
+++ b/usr/Makefile
@@ -52,7 +52,7 @@ CFLAGS += -DBSDIR=\"$(DESTDIR)$(libdir)/backing-store\"
 LIBS += -lpthread -ldl
 
 ifneq ($(SD_NOTIFY),)
-LIBS += -lsystemd-daemon
+LIBS += -lsystemd
 endif
 
 PROGRAMS += tgtd tgtadm tgtimg

openSUSE Build Service is sponsored by