package/octave: add optional zlib support

Signed-off-by: Julien Olivain <ju.o@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit fa54abf730)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Julien Olivain 2024-05-23 22:09:07 +02:00 committed by Peter Korsgaard
parent f5a4cc44ac
commit 82dec87ecc

View File

@ -28,4 +28,11 @@ else
OCTAVE_CONF_OPTS += --disable-readline
endif
ifeq ($(BR2_PACKAGE_ZLIB),y)
OCTAVE_CONF_OPTS += --with-z
OCTAVE_DEPENDENCIES += zlib
else
OCTAVE_CONF_OPTS += --without-z
endif
$(eval $(autotools-package))