dmraid: Fix install target in lib/Makefile.in.

The dmraid shared object file is created with a soname that contains a
version. Unfortunately, the install target in the Makefile does not
properly match on files ending with .so and so does not install it with
the version suffix.

Previously we only had a static library, which doesn't do much trouble
if the version is missing, but with the dynamic library the ELF file
depending on libdmraid uses the version, while the library itself isn't
present with that suffix.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
aszlig 2014-10-03 01:09:07 +02:00
parent 14fe149856
commit 499c51016e
No known key found for this signature in database
GPG Key ID: D0EBD0EC8C2DC961

View File

@ -8,6 +8,10 @@ stdenv.mkDerivation rec {
sha256 = "0m92971gyqp61darxbiri6a48jz3wq3gkp8r2k39320z0i6w8jgq";
};
postPatch = ''
sed -i 's/\[\[[^]]*\]\]/[ "''$''${n##*.}" = "so" ]/' */lib/Makefile.in
'';
preConfigure = "cd */";
buildInputs = [ devicemapper ];