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 = ''
|
postInstall = ''
|
||||||
rm -f $out/lib/libpcap.a
|
if [ "$dontDisableStatic" -ne "1" ]; then
|
||||||
|
rm -f $out/lib/libpcap.a
|
||||||
|
fi
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
@ -14,7 +14,7 @@ let
|
|||||||
};
|
};
|
||||||
pcap = symlinkJoin {
|
pcap = symlinkJoin {
|
||||||
inherit (libpcap) name;
|
inherit (libpcap) name;
|
||||||
paths = [ libpcap ];
|
paths = [ (libpcap.overrideAttrs(old: { dontDisableStatic = true; })) ];
|
||||||
postBuild = ''
|
postBuild = ''
|
||||||
cp -rs $out/include/pcap $out/include/net
|
cp -rs $out/include/pcap $out/include/net
|
||||||
# prevent references to libpcap
|
# prevent references to libpcap
|
||||||
|
Loading…
Reference in New Issue
Block a user