Merge pull request #91221 from iblech/patch-dsniff2
Unbreak dsniff by partially reverting a commit to libpcap
This commit is contained in:
commit
cee7631c08
@ -29,7 +29,9 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
if [ "$dontDisableStatic" -ne "1" ]; then
|
||||
rm -f $out/lib/libpcap.a
|
||||
fi
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
@ -14,7 +14,7 @@ let
|
||||
};
|
||||
pcap = symlinkJoin {
|
||||
inherit (libpcap) name;
|
||||
paths = [ libpcap ];
|
||||
paths = [ (libpcap.overrideAttrs(old: { dontDisableStatic = true; })) ];
|
||||
postBuild = ''
|
||||
cp -rs $out/include/pcap $out/include/net
|
||||
# prevent references to libpcap
|
||||
|
Loading…
Reference in New Issue
Block a user