BUILDMODE=static fails to build from source
CCLD daemon/kresd
/usr/bin/ld: /home/ondrej/Projects/knot-resolver/lib/libkres.a(cdb_lmdb.o): undefined reference to symbol 'mdb_env_create'
//usr/lib/x86_64-linux-gnu/liblmdb.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
daemon/daemon.mk:47: recipe for target 'daemon/kresd' failed
make: *** [daemon/kresd] Error 1