mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 06:01:15 +00:00
parent
a1217e5b1a
commit
d6d8aef47b
|
@ -10,14 +10,15 @@ stdenv.mkDerivation rec {
|
|||
|
||||
nativeBuildInputs = [ flex bison ];
|
||||
|
||||
configureFlags = "--with-pcap=linux";
|
||||
# Apparently, 32 bit systems need this forced? Not verified if still needed.
|
||||
configureFlags = stdenv.lib.optionals (stdenv.system == "i686-linux") "--with-pcap=linux";
|
||||
|
||||
preInstall = ''mkdir -p $out/bin'';
|
||||
|
||||
crossAttrs = {
|
||||
# Stripping hurts in static libraries
|
||||
dontStrip = true;
|
||||
configureFlags = [ "--with-pcap=linux" "ac_cv_linux_vers=2" ];
|
||||
configureFlags = configureFlags ++ [ "ac_cv_linux_vers=2" ];
|
||||
};
|
||||
|
||||
meta = {
|
||||
|
|
Loading…
Reference in a new issue