lockdev/lockdev-1.0.0-shared.patch
cvsdist 714ed7c48a auto-import changelog data from lockdev-1.0.0-16.src.rpm
Mon Feb 25 2002 Nalin Dahyabhai <nalin@redhat.com> 1.0.0-16
- include liblockdev.so so that programs can link to a shared liblockdev
- fix shared library version numbers
2004-09-09 07:59:07 +00:00

20 lines
559 B
Diff

--- lockdev-1.0.0/Makefile Mon Feb 25 15:36:06 2002
+++ lockdev-1.0.0/Makefile Mon Feb 25 15:36:02 2002
@@ -13,7 +13,7 @@
MVER = ${shell expr `pwd` : '.*-\([0-9]*\).[0-9]*'}
static = ${libname}.a
-shared = ${libname}.${VER}.so
+shared = ${libname}.so.${VER}
soname = ${libname}.so.${MVER}
# overwritten by caller (e.g.: debian/rules)
@@ -78,6 +78,7 @@
install_run: ${shared}
install -m755 -d ${libdir}
install -m755 ${shared} ${libdir}
+ ln -s ${shared} ${libdir}/liblockdev.so
install -m755 -d ${sbindir}
install -m755 lockdev ${sbindir}