Jelajahi Sumber

libshout: add optional openssl support

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Peter Korsgaard 9 tahun lalu
induk
melakukan
1442ff3c19
1 mengubah file dengan 7 tambahan dan 0 penghapusan
  1. 7 0
      package/libshout/libshout.mk

+ 7 - 0
package/libshout/libshout.mk

@@ -28,4 +28,11 @@ else
 LIBSHOUT_CONF_OPTS += --disable-speex
 endif
 
+ifeq ($(BR2_PACKAGE_OPENSSL),y)
+LIBSHOUT_CONF_OPTS += --with-openssl
+LIBSHOUT_DEPENDENCIES += openssl
+else
+LIBSHOUT_CONF_OPTS += --without-openssl
+endif
+
 $(eval $(autotools-package))