eudev itself includes dlfcn.h, so even without kmod it cannot be built statically: grep -rs dlfcn build/eudev-3.2.14/src eudev-3.2.14/src/shared/util.c:#include <dlfcn.h> Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>