diff --git a/package/libsrtp/libsrtp.mk b/package/libsrtp/libsrtp.mk index 5e622551d1..e5cf47b787 100644 --- a/package/libsrtp/libsrtp.mk +++ b/package/libsrtp/libsrtp.mk @@ -25,7 +25,8 @@ endif # host-pkgconf to make sure pkg-config is installed. LIBSRTP_DEPENDENCIES = host-pkgconf -ifeq ($(BR2_PACKAGE_OPENSSL),y) +# openssl handling needs libdl support +ifeq ($(BR2_PACKAGE_OPENSSL)x$(BR2_STATIC_LIBS),yx) LIBSRTP_DEPENDENCIES += openssl LIBSRTP_CONF_OPTS += --enable-openssl else