multipath-tools/multipath-tools-0.5.0-readline-link-with-termcap.patch

13 lines
495 B
Diff

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 2013-12-17 22:40:41.000000000 +0100
+++ multipath-tools-0.5.0/multipathd/Makefile 2014-06-23 23:42:21.483547735 +0200
@@ -9,7 +9,7 @@
ifdef SYSTEMD
CFLAGS += -DUSE_SYSTEMD=$(SYSTEMD)
endif
-LDFLAGS += -lpthread -ldevmapper -lreadline
+LDFLAGS += -lpthread -ldevmapper -lreadline -ltermcap
ifdef SYSTEMD
LDFLAGS += -lsystemd-daemon
endif