1Makefile: fix install rule 2 3Do not link the .so with an absolute path, otherwise it may point to 4the host library. 5 6Based on the former patch by Yann E. MORIN. 7 8Signed-off-by: Vicente Olivert Riera <vincent.riera@imgtec.com> 9[baruch: update for 1.6] 10Signed-off-by: Baruch Siach <baruch@tkos.co.il> 11 12--- keyutils-1.5.9/Makefile.orig 2014-09-22 16:13:41.593562765 +0100 13+++ keyutils-1.5.9/Makefile 2014-09-22 16:14:05.377963952 +0100 14@@ -200,7 +200,7 @@ ifeq ($(NO_SOLIB),0) 15 $(INSTALL) -D $(LIBNAME) $(DESTDIR)$(LIBDIR)/$(LIBNAME) 16 $(LNS) $(LIBNAME) $(DESTDIR)$(LIBDIR)/$(SONAME) 17 mkdir -p $(DESTDIR)$(USRLIBDIR) 18- $(LNS) $(LIBDIR)/$(SONAME) $(DESTDIR)$(USRLIBDIR)/$(DEVELLIB) 19+ $(LNS) $(SONAME) $(DESTDIR)$(USRLIBDIR)/$(DEVELLIB) 20 sed \ 21 -e 's,@VERSION\@,$(VERSION),g' \ 22 -e 's,@prefix\@,$(PREFIX),g' \ 23