Przeglądaj źródła

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 rok temu
rodzic
commit
4baf992d83
1 zmienionych plików z 7 dodań i 0 usunięć
  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 \