blob: 6ec91d2316559a5c053eed2c9f2dbb51cde577d2 [file] [log] [blame]
Brad Bishop19323692019-04-05 15:28:33 -04001commit 0dd47123655c52d68185f06b9da8fb0e1b925400
2Author: Ludwig Nussel <ludwig.nussel@suse.de>
3Date: Tue Feb 9 14:56:23 2010 +0100
4
5 RedHat patch 2
6
7 - change library file name
8 - install devel symlink
9
10--- a/Makefile
11+++ b/Makefile
12@@ -11,7 +11,7 @@ VER = $(shell expr `pwd` : '.*-\([0-9.]*
13 MVER = ${shell expr `pwd` : '.*-\([0-9]*\).[0-9]*'}
14
15 static = ${libname}.a
16-shared = ${libname}.${VER}.so
17+shared = ${libname}.so.${VER}
18 soname = ${libname}.so.${MVER}
19
20 # overwritten by caller (e.g.: debian/rules)
21@@ -72,6 +72,7 @@ install_doc: docs/lockdev.3
22 install_run: ${shared}
23 install -m755 -d ${libdir}
24 install -m644 ${shared} ${libdir}
25+ ln -s ${shared} ${libdir}/liblockdev.so
26
27 .PHONY: clean distclean perl-clean mostyclean
28 perl-clean: clean