knot-dns: use shared lmdb
This commit is contained in:
parent
1a55974cef
commit
5b75338a50
@ -16,15 +16,17 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
gnutls jansson liburcu libidn
|
gnutls jansson liburcu libidn lmdb
|
||||||
nettle libedit
|
nettle libedit
|
||||||
libiconv
|
libiconv
|
||||||
# without sphinx &al. for developer documentation
|
# without sphinx &al. for developer documentation
|
||||||
]
|
]
|
||||||
# Use embedded lmdb there for now, as detection is broken on Darwin somehow.
|
# Use embedded lmdb there for now, as detection is broken on Darwin somehow.
|
||||||
++ stdenv.lib.optionals stdenv.isLinux [ libcap_ng systemd lmdb ]
|
++ stdenv.lib.optionals stdenv.isLinux [ libcap_ng systemd ]
|
||||||
++ stdenv.lib.optional stdenv.isDarwin zlib; # perhaps due to gnutls
|
++ stdenv.lib.optional stdenv.isDarwin zlib; # perhaps due to gnutls
|
||||||
|
|
||||||
|
configureFlags = [ "--with-lmdb=${stdenv.lib.getLib lmdb}"/*not perfect*/ ];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
CFLAGS = [ "-O2" "-DNDEBUG" ];
|
CFLAGS = [ "-O2" "-DNDEBUG" ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user