mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-14 05:37:40 +03:00
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:
parent
14fe149856
commit
499c51016e
@ -8,6 +8,10 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0m92971gyqp61darxbiri6a48jz3wq3gkp8r2k39320z0i6w8jgq";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
sed -i 's/\[\[[^]]*\]\]/[ "''$''${n##*.}" = "so" ]/' */lib/Makefile.in
|
||||
'';
|
||||
|
||||
preConfigure = "cd */";
|
||||
|
||||
buildInputs = [ devicemapper ];
|
||||
|
Loading…
Reference in New Issue
Block a user