multipath-tools/multipath-tools-0.5.0-systemd-230.patch

25 lines
1018 B
Diff
Raw Normal View History

diff -Nru multipath-tools-0.5.0.orig/libmultipath/Makefile multipath-tools-0.5.0/libmultipath/Makefile
--- multipath-tools-0.5.0.orig/libmultipath/Makefile 2013-12-17 22:40:41.000000000 +0100
+++ multipath-tools-0.5.0/libmultipath/Makefile 2016-07-03 13:32:46.336843979 +0200
@@ -9,7 +9,7 @@
LIBS = $(DEVLIB).$(SONAME)
LIBDEPS = -lpthread -ldl -ldevmapper -ludev
ifdef SYSTEMD
- LIBDEPS += -lsystemd-daemon
+ LIBDEPS += -lsystemd
endif
OBJS = memory.o parser.o vector.o devmapper.o callout.o \
diff -Nru multipath-tools-0.5.0.orig/multipathd/Makefile multipath-tools-0.5.0/multipathd/Makefile
--- multipath-tools-0.5.0.orig/multipathd/Makefile 2016-07-03 12:02:00.666712383 +0200
+++ multipath-tools-0.5.0/multipathd/Makefile 2016-07-03 13:33:06.479839184 +0200
@@ -11,7 +11,7 @@
endif
LDFLAGS += -lpthread -ldevmapper -lreadline -ltermcap
ifdef SYSTEMD
- LDFLAGS += -lsystemd-daemon
+ LDFLAGS += -lsystemd
endif
LDFLAGS += -ludev -ldl \
-L$(multipathdir) -lmultipath -L$(mpathpersistdir) -lmpathpersist