treewide: strip more things in cross
Stripping reduces closure sizes.
This commit is contained in:
@@ -22,12 +22,14 @@ stdenv.mkDerivation rec {
|
||||
"ac_cv_linux_vers=2"
|
||||
];
|
||||
|
||||
dontStrip = stdenv.hostPlatform != stdenv.buildPlatform;
|
||||
|
||||
prePatch = stdenv.lib.optionalString stdenv.isDarwin ''
|
||||
substituteInPlace configure --replace " -arch i386" ""
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
rm -f $out/lib/libpcap.a
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://www.tcpdump.org";
|
||||
description = "Packet Capture Library";
|
||||
|
||||
Reference in New Issue
Block a user