lldpd: fix cross compilation (#449301)
This commit is contained in:
@@ -43,6 +43,11 @@ stdenv.mkDerivation rec {
|
||||
openssl
|
||||
];
|
||||
|
||||
preConfigure = lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) ''
|
||||
# Yes, this works and is required for cross :'/
|
||||
export PATH=$PATH:${net-snmp.dev}/bin
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
outputs = [
|
||||
|
||||
@@ -102,7 +102,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
meta = with lib; {
|
||||
description = "Clients and server for the SNMP network monitoring protocol";
|
||||
homepage = "http://www.net-snmp.org/";
|
||||
homepage = "https://www.net-snmp.org/";
|
||||
license = licenses.bsd3;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user