[PATCH] Fix libs for current systemd linker name

Andy Grover <[email protected]> Tue, 10 Feb 2015 13:55:28 -0800
Newsgroups org.kernel.vger.stgt
Message-ID <[email protected]>
Systemd versions since 210 (Feb 2014) have merged libsystemd-daemon into
libsystemd.

Signed-off-by: Andy Grover <[email protected]>
---
 usr/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/usr/Makefile b/usr/Makefile
index 817a3fb..1fae7e7 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
-- 
2.1.0