Richard Marian Thomaiyar | 14fddef | 2018-07-13 23:55:56 +0530 | [diff] [blame] | 1 | Subject: [PATCH] keyutils: use relative path for link |
| 2 | |
| 3 | The absolute path of the symlink will be invalid |
| 4 | when populated in sysroot, so use relative path instead. |
| 5 | |
| 6 | Upstream-Status: Pending |
| 7 | |
| 8 | Signed-off-by: Jackie Huang <jackie.huang@windriver.com> |
| 9 | --- |
| 10 | Makefile | 2 +- |
| 11 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 12 | |
| 13 | diff --git a/Makefile b/Makefile |
| 14 | index 824bbbf..8ce3a13 100644 |
| 15 | --- a/Makefile |
| 16 | +++ b/Makefile |
| 17 | @@ -167,7 +167,7 @@ ifeq ($(NO_SOLIB),0) |
| 18 | $(INSTALL) -D $(LIBNAME) $(DESTDIR)$(LIBDIR)/$(LIBNAME) |
| 19 | $(LNS) $(LIBNAME) $(DESTDIR)$(LIBDIR)/$(SONAME) |
| 20 | mkdir -p $(DESTDIR)$(USRLIBDIR) |
| 21 | - $(LNS) $(LIBDIR)/$(SONAME) $(DESTDIR)$(USRLIBDIR)/$(DEVELLIB) |
| 22 | + $(LNS) $(SONAME) $(DESTDIR)$(USRLIBDIR)/$(DEVELLIB) |
| 23 | endif |
| 24 | $(INSTALL) -D keyctl $(DESTDIR)$(BINDIR)/keyctl |
| 25 | $(INSTALL) -D request-key $(DESTDIR)$(SBINDIR)/request-key |
| 26 | -- |
| 27 | 2.11.0 |
| 28 | |