Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame^] | 1 | commit 0dd47123655c52d68185f06b9da8fb0e1b925400 |
| 2 | Author: Ludwig Nussel <ludwig.nussel@suse.de> |
| 3 | Date: 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 |