mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01: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
1 changed files with 2 additions and 1 deletions
|
@ -18,7 +18,8 @@ stdenv.mkDerivation rec {
|
|||
|
||||
installPhase = ''
|
||||
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
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue