blob: b8bad533b206bbdb0d4a878f136b5e91fb9c1da5 [file] [log] [blame]
Vicente Olivert Riera339df192014-09-24 09:44:19 +01001Makefile: 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>
Baruch Siach08e41112018-12-03 14:07:34 +02009[baruch: update for 1.6]
10Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Vicente Olivert Riera339df192014-09-24 09:44:19 +010011
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
Francois Perradebce1632020-09-28 20:08:18 +020014@@ -200,7 +200,7 @@ ifeq ($(NO_SOLIB),0)
Vicente Olivert Riera339df192014-09-24 09:44:19 +010015 $(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)
Baruch Siach08e41112018-12-03 14:07:34 +020020 sed \
21 -e 's,@VERSION\@,$(VERSION),g' \
22 -e 's,@prefix\@,$(PREFIX),g' \