liblockdev/liblockdev-1.0.0-shared.patch

20 lines
559 B
Diff
Raw Normal View History

--- 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}