dsniff: fix build (#468876)

This commit is contained in:
Sandro
2025-12-08 18:19:19 +00:00
committed by GitHub
+6 -2
View File
@@ -53,9 +53,13 @@ let
done
'';
};
libnet' = libnet.overrideAttrs { dontDisableStatic = true; };
net = symlinkJoin {
inherit (libnet) name;
paths = [ (libnet.overrideAttrs { dontDisableStatic = true; }) ];
inherit (libnet') name;
paths = [
(lib.getLib libnet')
(lib.getDev libnet')
];
postBuild = ''
# prevent dynamic linking, now that we have a static library
rm $out/lib/*.so*