mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +00:00
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 {
|
||||
name = "vde2-2.3.2";
|
||||
@ -10,6 +12,9 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs = [ openssl libpcap python ];
|
||||
|
||||
# Avoid qemu rebuild; feel free to replace with optional
|
||||
configureFlags = if enableStatic then [ "--enable-static" ] else null;
|
||||
|
||||
meta = {
|
||||
homepage = http://vde.sourceforge.net/;
|
||||
description = "Virtual Distributed Ethernet, an Ethernet compliant virtual network";
|
||||
|
Loading…
Reference in New Issue
Block a user