From 0f34d1d91d641c3d5c5bb2eb11bd6eec7cfaf738 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 8cbda1d..3a74811 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -88,6 +88,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
 
 test:		test-stamp
-- 
2.25.1

