libpcap: remove static library unless dontDisableStatic is set
This commit is contained in:
@@ -28,6 +28,12 @@ stdenv.mkDerivation rec {
|
||||
substituteInPlace configure --replace " -arch i386" ""
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
if [ "$dontDisableStatic" -ne "1" ]; then
|
||||
rm -f $out/lib/libpcap.a
|
||||
fi
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "https://www.tcpdump.org";
|
||||
description = "Packet Capture Library";
|
||||
|
||||
Reference in New Issue
Block a user