package/octave: add optional libcurl support

Signed-off-by: Julien Olivain <ju.o@free.fr>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 913a6c7788ef2dcc76860e45d2abe70cce812b9d)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Julien Olivain 2024-06-15 12:23:31 +02:00 committed by Peter Korsgaard
parent 50ff485793
commit 9edaaea06f

View File

@ -36,6 +36,13 @@ else
OCTAVE_CONF_OPTS += --without-magick
endif
ifeq ($(BR2_PACKAGE_LIBCURL),y)
OCTAVE_CONF_OPTS += --with-curl
OCTAVE_DEPENDENCIES += libcurl
else
OCTAVE_CONF_OPTS += --without-curl
endif
ifeq ($(BR2_PACKAGE_READLINE),y)
OCTAVE_CONF_OPTS += \
--enable-readline \