mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 20:34:52 +03:00
libdwarf: version the shared object (#20996)
Upstream sets the soname, so binaries compiled against libdwarf.so will link against libdwarf.so.1 at runtime. Install libdwarf.so.1 and symlink libdwarf.so to it so both linking and runtime loading work again.
This commit is contained in:
parent
f0b9ecfa01
commit
469e5e7768
@ -18,7 +18,8 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/lib $out/include
|
mkdir -p $out/lib $out/include
|
||||||
cp libdwarf.so $out/lib
|
cp libdwarf.so.1 $out/lib
|
||||||
|
ln -s libdwarf.so.1 $out/lib/libdwarf.so
|
||||||
cp libdwarf.h dwarf.h $out/include
|
cp libdwarf.h dwarf.h $out/include
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user