aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/liblockfile/liblockfile/0001-Makefile.in-install-nfslock-libs.patch
blob: a6b297b59230ab9342bb90212cef58297aa49bcd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
From 631d46efff2a6d8970e202ba5422ebedd17a8d2f Mon Sep 17 00:00:00 2001
From: Mingli Yu <mingli.yu@windriver.com>
Date: Thu, 19 Jul 2018 01:00:10 -0700
Subject: [PATCH] Makefile.in: install nfslock.so and nfslock.so.0

* install the missing soname library

Upstream-Status: Pending

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
---
 Makefile.in | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Makefile.in b/Makefile.in
index 1e4130e..0f1b506 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -77,6 +77,8 @@ install_common:
 install_nfslib:	nfslib
 		install -d -m 755 -g root -p $(nfslockdir)
 		install -m 755 nfslock.so.$(NFSVER) $(nfslockdir)
+		ln -sf nfslock.so.$(NFSVER) $(libdir)/nfslock.so
+		ln -sf nfslock.so.$(NFSVER) $(libdir)/nfslock.so.0
 		if test "$(DESTDIR)" = ""; then @LDCONFIG@; fi
 
 clean:
-- 
2.17.1