dsniff: link with pthreads explicitly
This commit is contained in:
parent
ef5baf894c
commit
4510ad1807
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue