diff options
Diffstat (limited to 'recipes-security/keyutils/files')
-rw-r--r-- | recipes-security/keyutils/files/fix_library_install_path.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/recipes-security/keyutils/files/fix_library_install_path.patch b/recipes-security/keyutils/files/fix_library_install_path.patch new file mode 100644 index 0000000..938fe2e --- /dev/null +++ b/recipes-security/keyutils/files/fix_library_install_path.patch | |||
@@ -0,0 +1,28 @@ | |||
1 | From b0355cc205543ffd33752874295139d57c4fbc3e Mon Sep 17 00:00:00 2001 | ||
2 | From: Wenzong Fan <wenzong.fan@windriver.com> | ||
3 | Date: Tue, 26 Sep 2017 07:59:51 +0000 | ||
4 | Subject: [PATCH] Subject: [PATCH] keyutils: use relative path for link | ||
5 | |||
6 | The absolute path of the symlink will be invalid | ||
7 | when populated in sysroot, so use relative path instead. | ||
8 | |||
9 | Upstream-Status: Pending | ||
10 | |||
11 | Signed-off-by: Jackie Huang <jackie.huang@windriver.com> | ||
12 | Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> | ||
13 | {rebased for 1.6] | ||
14 | Signed-off-by: Armin Kuster <akuster808@gmail.com> | ||
15 | |||
16 | Index: keyutils-1.6/Makefile | ||
17 | =================================================================== | ||
18 | --- keyutils-1.6.orig/Makefile | ||
19 | +++ keyutils-1.6/Makefile | ||
20 | @@ -184,7 +184,7 @@ ifeq ($(NO_SOLIB),0) | ||
21 | $(INSTALL) -D $(LIBNAME) $(DESTDIR)$(LIBDIR)/$(LIBNAME) | ||
22 | $(LNS) $(LIBNAME) $(DESTDIR)$(LIBDIR)/$(SONAME) | ||
23 | mkdir -p $(DESTDIR)$(USRLIBDIR) | ||
24 | - $(LNS) $(LIBDIR)/$(SONAME) $(DESTDIR)$(USRLIBDIR)/$(DEVELLIB) | ||
25 | + $(LNS) $(SONAME) $(DESTDIR)$(USRLIBDIR)/$(DEVELLIB) | ||
26 | sed \ | ||
27 | -e 's,@VERSION\@,$(VERSION),g' \ | ||
28 | -e 's,@prefix\@,$(PREFIX),g' \ | ||