From 4028dfccc4a139d0e5ab9dd9ddb7507cce524c42 Mon Sep 17 00:00:00 2001 From: Christophe Varoqui Date: Sat, 11 Feb 2012 09:33:45 +0100 Subject: [PATCH] mpathpersist build fix remove -lsysfs from Makefiles. sysfs.h is provided through -lmultipath. --- libmpathpersist/Makefile | 2 +- mpathpersist/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libmpathpersist/Makefile b/libmpathpersist/Makefile index 8a81b13..c4ec1c5 100644 --- a/libmpathpersist/Makefile +++ b/libmpathpersist/Makefile @@ -11,7 +11,7 @@ LIBS = $(DEVLIB).$(SONAME) CFLAGS += -I$(multipathdir) -I$(mpathpersistdir) -LIBDEPS += -lpthread -ldevmapper -ldl -L$(multipathdir) -lmultipath -lsysfs +LIBDEPS += -lpthread -ldevmapper -ldl -L$(multipathdir) -lmultipath OBJS = mpath_persist.o mpath_updatepr.o mpath_pr_ioctl.o diff --git a/mpathpersist/Makefile b/mpathpersist/Makefile index c20d3e9..2a8efe6 100644 --- a/mpathpersist/Makefile +++ b/mpathpersist/Makefile @@ -5,7 +5,7 @@ include ../Makefile.inc OBJS = main.o CFLAGS += -I$(multipathdir) -I$(mpathpersistdir) -LDFLAGS += -lpthread -ldevmapper -lsysfs -L$(mpathpersistdir) -lmpathpersist -L$(multipathdir) -lmultipath +LDFLAGS += -lpthread -ldevmapper -L$(mpathpersistdir) -lmpathpersist -L$(multipathdir) -lmultipath EXEC = mpathpersist -- 2.34.1