lldpd: remove references to gcc-wrapper

This commit is contained in:
Franz Pletz 2017-05-27 01:53:18 +02:00
parent 7b44b7abd0
commit 33acb13fcd
No known key found for this signature in database
GPG Key ID: 846FDED7792617B4

View File

@ -1,4 +1,4 @@
{ stdenv, lib, fetchurl, pkgconfig
{ stdenv, lib, fetchurl, pkgconfig, removeReferencesTo
, libevent, readline, net_snmp }:
stdenv.mkDerivation rec {
@ -16,13 +16,17 @@ stdenv.mkDerivation rec {
"--with-snmp"
];
nativeBuildInputs = [ pkgconfig ];
nativeBuildInputs = [ pkgconfig removeReferencesTo ];
buildInputs = [ libevent readline net_snmp ];
enableParallelBuilding = true;
outputs = [ "out" "dev" "man" "doc" ];
preFixup = ''
find $out -type f -exec remove-references-to -t ${stdenv.cc} '{}' +
'';
meta = with lib; {
description = "802.1ab implementation (LLDP) to help you locate neighbors of all your equipments";
homepage = "https://vincentbernat.github.io/lldpd/";