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>
This commit is contained in:
Julien Olivain 2024-06-23 12:26:15 +02:00 committed by Peter Korsgaard
parent cc610b2f12
commit 07659a594b

View File

@ -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 \