dsniff: Unbreak the build

This commit is contained in:
Ingo Blechschmidt 2020-01-24 14:07:58 +01:00 committed by Bjørn Forsman
parent 3958cc3c4b
commit 89864a01d1

View file

@ -54,7 +54,7 @@ in stdenv.mkDerivation {
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ glib pcap ];
NIX_CFLAGS_LINK = "-lglib-2.0 -lpthread";
NIX_CFLAGS_LINK = "-lglib-2.0 -lpthread -ldl";
postPatch = ''
for patch in debian/patches/*.patch; do
patch < $patch