knot-dns: use shared lmdb
This commit is contained in:
parent
1a55974cef
commit
5b75338a50
@ -16,15 +16,17 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [
|
||||
gnutls jansson liburcu libidn
|
||||
gnutls jansson liburcu libidn lmdb
|
||||
nettle libedit
|
||||
libiconv
|
||||
# without sphinx &al. for developer documentation
|
||||
]
|
||||
# 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
|
||||
|
||||
configureFlags = [ "--with-lmdb=${stdenv.lib.getLib lmdb}"/*not perfect*/ ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
CFLAGS = [ "-O2" "-DNDEBUG" ];
|
||||
|
Loading…
Reference in New Issue
Block a user