Merge pull request #91221 from iblech/patch-dsniff2
Unbreak dsniff by partially reverting a commit to libpcap
This commit is contained in:
commit
cee7631c08
2 changed files with 4 additions and 2 deletions
|
@ -29,7 +29,9 @@ stdenv.mkDerivation rec {
|
|||
'';
|
||||
|
||||
postInstall = ''
|
||||
rm -f $out/lib/libpcap.a
|
||||
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 a new issue