frr: use elfutils instead of abandoned libelf

This commit is contained in:
Philip Taron 2024-04-03 10:00:02 -07:00
parent 67e2bc0371
commit 5b17986c92
No known key found for this signature in database
2 changed files with 6 additions and 4 deletions

View File

@ -8,7 +8,7 @@
, flex
, bison
, pkg-config
, libelf
, elfutils
, perl
, python3
@ -29,8 +29,9 @@ stdenv.mkDerivation rec {
];
buildInputs = [
libelf
python3
] ++ lib.optionals (lib.meta.availableOn stdenv.hostPlatform elfutils) [
elfutils
];
configureFlags = [

View File

@ -16,7 +16,7 @@
, c-ares
, json_c
, libcap
, libelf
, elfutils
, libunwind
, libyang
, net-snmp
@ -118,7 +118,6 @@ stdenv.mkDerivation rec {
buildInputs = [
c-ares
json_c
libelf
libunwind
libyang
openssl
@ -132,6 +131,8 @@ stdenv.mkDerivation rec {
libcap
] ++ lib.optionals snmpSupport [
net-snmp
] ++ lib.optionals (lib.meta.availableOn stdenv.hostPlatform elfutils) [
elfutils
];
# otherwise in cross-compilation: "configure: error: no working python version found"