dsniff: link with pthreads explicitly

This commit is contained in:
Piotr Bogdan 2019-01-04 19:33:50 +00:00
parent ef5baf894c
commit 4510ad1807

View File

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