libev: Add statically linked libev
to pkgsStatic
This commit is contained in:
parent
6e38def213
commit
66f12cac09
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl }:
|
{ stdenv, fetchurl, static ? false }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "libev";
|
pname = "libev";
|
||||||
@ -9,6 +9,8 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "0kil23cgsp0r5shvnwwbsy7fzxb62sxqzqbkbkfp5w54ipy2cm9d";
|
sha256 = "0kil23cgsp0r5shvnwwbsy7fzxb62sxqzqbkbkfp5w54ipy2cm9d";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
configureFlags = stdenv.lib.optional (static) "LDFLAGS=-static";
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "A high-performance event loop/event model with lots of features";
|
description = "A high-performance event loop/event model with lots of features";
|
||||||
maintainers = [ stdenv.lib.maintainers.raskin ];
|
maintainers = [ stdenv.lib.maintainers.raskin ];
|
||||||
|
@ -197,4 +197,6 @@ in {
|
|||||||
};
|
};
|
||||||
|
|
||||||
python27 = super.python27.override { static = true; };
|
python27 = super.python27.override { static = true; };
|
||||||
|
|
||||||
|
libev = super.libev.override { static = true; };
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user