parent
a1217e5b1a
commit
d6d8aef47b
@ -10,14 +10,15 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ flex bison ];
|
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'';
|
preInstall = ''mkdir -p $out/bin'';
|
||||||
|
|
||||||
crossAttrs = {
|
crossAttrs = {
|
||||||
# Stripping hurts in static libraries
|
# Stripping hurts in static libraries
|
||||||
dontStrip = true;
|
dontStrip = true;
|
||||||
configureFlags = [ "--with-pcap=linux" "ac_cv_linux_vers=2" ];
|
configureFlags = configureFlags ++ [ "ac_cv_linux_vers=2" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
Loading…
Reference in New Issue
Block a user