diff --git a/package/directfb/directfb.mk b/package/directfb/directfb.mk index 1d83a0b623..3ae7f3e9f2 100644 --- a/package/directfb/directfb.mk +++ b/package/directfb/directfb.mk @@ -26,6 +26,11 @@ DIRECTFB_CONF_OPT = \ --disable-video4linux \ --disable-video4linux2 \ --without-tools + +ifeq ($(BR2_PREFER_STATIC_LIB),y) +DIRECTFB_CONF_OPT += --disable-dynload +endif + DIRECTFB_CONFIG_SCRIPTS = directfb-config DIRECTFB_DEPENDENCIES = freetype zlib