瀏覽代碼

package/octave: add optional openssl support

GNU Octave supports the --with-openssl configure option since v4.0.0.

For reference, commit 40ea68b4b2 "package/octave: new package"
introduced the package at v7.1.0.

This commits adds this optional support.

Signed-off-by: Julien Olivain <ju.o@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 0e2c2810dc25de0cdc2126851061f9feabe66930)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Julien Olivain 1 年之前
父節點
當前提交
4baf992d83
共有 1 個文件被更改,包括 7 次插入0 次删除
  1. 7 0
      package/octave/octave.mk

+ 7 - 0
package/octave/octave.mk

@@ -43,6 +43,13 @@ else
 OCTAVE_CONF_OPTS += --without-curl
 endif
 
+ifeq ($(BR2_PACKAGE_OPENSSL),y)
+OCTAVE_CONF_OPTS += --with-openssl=yes
+OCTAVE_DEPENDENCIES += openssl
+else
+OCTAVE_CONF_OPTS += --without-openssl
+endif
+
 ifeq ($(BR2_PACKAGE_READLINE),y)
 OCTAVE_CONF_OPTS += \
 	--enable-readline \