1*4882a593SmuzhiyunFrom 445be05fba32c512fd87a0c98b4e9936629ef95e Mon Sep 17 00:00:00 2001
2*4882a593SmuzhiyunFrom: Bernd Kuhls <bernd.kuhls@t-online.de>
3*4882a593SmuzhiyunDate: Sat, 20 Feb 2016 17:59:52 +0100
4*4882a593SmuzhiyunSubject: [PATCH 1/1] src/Makefile.in: Really install unversioned solibrary
5*4882a593Smuzhiyun
6*4882a593SmuzhiyunThis commit is a follow-up to
7*4882a593Smuzhiyunhttps://github.com/telmich/gpm/commit/06b00d53d8bd513ad5d262dc94a016c6fbf2d3aa
8*4882a593Smuzhiyunwhich created libgpm.so but failed to include it in the install target.
9*4882a593Smuzhiyun
10*4882a593SmuzhiyunPatch sent upstream: https://github.com/telmich/gpm/pull/11
11*4882a593Smuzhiyun
12*4882a593SmuzhiyunSigned-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
13*4882a593Smuzhiyun---
14*4882a593Smuzhiyun src/Makefile.in | 1 +
15*4882a593Smuzhiyun 1 file changed, 1 insertion(+)
16*4882a593Smuzhiyun
17*4882a593Smuzhiyundiff --git a/src/Makefile.in b/src/Makefile.in
18*4882a593Smuzhiyunindex 7e9e2ef..bca226f 100644
19*4882a593Smuzhiyun--- a/src/Makefile.in
20*4882a593Smuzhiyun+++ b/src/Makefile.in
21*4882a593Smuzhiyun@@ -115,6 +115,7 @@ install:	check
22*4882a593Smuzhiyun 	if test "x@SHLIB@" != "x" ; then \
23*4882a593Smuzhiyun 		$(INSTALL_DATA) -m 755 lib/libgpm.so.@abi_full@ $(libdir)/libgpm.so.@abi_full@	;	\
24*4882a593Smuzhiyun 		cd $(libdir) && $(LN_S) -f libgpm.so.@abi_full@ libgpm.so.@abi_lev@ 					;	\
25*4882a593Smuzhiyun+		cd $(libdir) && $(LN_S) -f libgpm.so.@abi_full@ libgpm.so 					;	\
26*4882a593Smuzhiyun       echo "WARNING: We installed a lib, you should now call ldconfig" 						; 	\
27*4882a593Smuzhiyun       echo "f.i.: ldconfig -n -l $(libdir)/libgpm.so.@abi_full@" 								;	\
28*4882a593Smuzhiyun       echo "Or to update everything just type ldconfig"											;	\
29*4882a593Smuzhiyun--
30*4882a593Smuzhiyun2.7.0
31*4882a593Smuzhiyun
32