miniupnpd: Fix cross compilation (#451531)
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user