summaryrefslogtreecommitdiffstats
path: root/files/fix_library_install_path.patch
diff options
context:
space:
mode:
authorArmin Kuster <akuster808@gmail.com>2019-07-08 14:38:59 +0800
committerKhem Raj <raj.khem@gmail.com>2019-07-10 09:24:33 -0700
commit64d8fc68a6134ab06a9e625645a849f95cbe1059 (patch)
tree4b41857f60144e5502030c966e1d72dbaa26aaa6 /files/fix_library_install_path.patch
parent3828f61108d82b57897b50a4e8c40cc1581ab30e (diff)
downloadmeta-openembedded-64d8fc68a6134ab06a9e625645a849f95cbe1059.tar.gz
keyutils: fix library install path
[v2] fix multilib support Als add native support Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'files/fix_library_install_path.patch')
-rw-r--r--files/fix_library_install_path.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/files/fix_library_install_path.patch b/files/fix_library_install_path.patch
new file mode 100644
index 0000000000..938fe2eb57
--- /dev/null
+++ b/files/fix_library_install_path.patch
@@ -0,0 +1,28 @@
1From b0355cc205543ffd33752874295139d57c4fbc3e Mon Sep 17 00:00:00 2001
2From: Wenzong Fan <wenzong.fan@windriver.com>
3Date: Tue, 26 Sep 2017 07:59:51 +0000
4Subject: [PATCH] Subject: [PATCH] keyutils: use relative path for link
5
6The absolute path of the symlink will be invalid
7when populated in sysroot, so use relative path instead.
8
9Upstream-Status: Pending
10
11Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
12Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
13{rebased for 1.6]
14Signed-off-by: Armin Kuster <akuster808@gmail.com>
15
16Index: 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' \