Commit 36114230 authored by Will Fancher's avatar Will Fancher
Browse files

miniupnpd: Fix cross compilation

parent 0b4defa2
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -4,6 +4,7 @@
  fetchurl,
  iptables-legacy,
  libuuid,
  linuxHeaders,
  openssl,
  pkg-config,
  which,
@@ -71,7 +72,12 @@ stdenv.mkDerivation rec {
  # ./configure is not a standard configure file, errors with:
  # Option not recognized : --prefix=
  dontAddPrefix = true;
  # Similar for cross flags --host/--build
  configurePlatforms = [ ];
  configureFlags = [
    "--host-os=${stdenv.hostPlatform.uname.system}"
    "--host-os-version=${linuxHeaders.version}"
    "--host-machine=${stdenv.hostPlatform.uname.processor}"
    "--firewall=${firewall}"
    # allow using various config options
    "--ipv6"