Vicente Olivert Riera | 339df19 | 2014-09-24 09:44:19 +0100 | [diff] [blame] | 1 | Makefile: fix install rule |
| 2 | |
| 3 | Do not link the .so with an absolute path, otherwise it may point to |
| 4 | the host library. |
| 5 | |
| 6 | Based on the former patch by Yann E. MORIN. |
| 7 | |
| 8 | Signed-off-by: Vicente Olivert Riera <vincent.riera@imgtec.com> |
Baruch Siach | 08e4111 | 2018-12-03 14:07:34 +0200 | [diff] [blame] | 9 | [baruch: update for 1.6] |
| 10 | Signed-off-by: Baruch Siach <baruch@tkos.co.il> |
Vicente Olivert Riera | 339df19 | 2014-09-24 09:44:19 +0100 | [diff] [blame] | 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 |
Francois Perrad | ebce163 | 2020-09-28 20:08:18 +0200 | [diff] [blame] | 14 | @@ -200,7 +200,7 @@ ifeq ($(NO_SOLIB),0) |
Vicente Olivert Riera | 339df19 | 2014-09-24 09:44:19 +0100 | [diff] [blame] | 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) |
Baruch Siach | 08e4111 | 2018-12-03 14:07:34 +0200 | [diff] [blame] | 20 | sed \ |
| 21 | -e 's,@VERSION\@,$(VERSION),g' \ |
| 22 | -e 's,@prefix\@,$(PREFIX),g' \ |