From: Christophe Varoqui Date: Sat, 11 Feb 2012 08:33:45 +0000 (+0100) Subject: mpathpersist build fix X-Git-Tag: upstream/0.5.0~46 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4028dfccc4a139d0e5ab9dd9ddb7507cce524c42;p=platform%2Fupstream%2Fmultipath-tools.git mpathpersist build fix remove -lsysfs from Makefiles. sysfs.h is provided through -lmultipath. --- 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