vde2: support static build
This commit is contained in:
parent
ee6ca494d2
commit
fda6c0d3c7
@ -1,4 +1,6 @@
|
|||||||
{ stdenv, fetchurl, openssl, libpcap, python }:
|
{ stdenv, fetchurl, openssl, libpcap, python
|
||||||
|
, enableStatic ? false
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "vde2-2.3.2";
|
name = "vde2-2.3.2";
|
||||||
@ -10,6 +12,9 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [ openssl libpcap python ];
|
buildInputs = [ openssl libpcap python ];
|
||||||
|
|
||||||
|
# Avoid qemu rebuild; feel free to replace with optional
|
||||||
|
configureFlags = if enableStatic then [ "--enable-static" ] else null;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = http://vde.sourceforge.net/;
|
homepage = http://vde.sourceforge.net/;
|
||||||
description = "Virtual Distributed Ethernet, an Ethernet compliant virtual network";
|
description = "Virtual Distributed Ethernet, an Ethernet compliant virtual network";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user