From c1723c0dfda041efb3da1d4da94909cbc0003e77 Mon Sep 17 00:00:00 2001 From: Julien Olivain Date: Wed, 22 May 2024 22:13:26 +0200 Subject: [PATCH] package/octave: add optional bzip2 support Signed-off-by: Julien Olivain Signed-off-by: Peter Korsgaard --- package/octave/octave.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/octave/octave.mk b/package/octave/octave.mk index 853f767d97..a087961be9 100644 --- a/package/octave/octave.mk +++ b/package/octave/octave.mk @@ -19,6 +19,13 @@ OCTAVE_DEPENDENCIES = \ openblas \ pcre2 +ifeq ($(BR2_PACKAGE_BZIP2),y) +OCTAVE_CONF_OPTS += --with-bz2 +OCTAVE_DEPENDENCIES += bzip2 +else +OCTAVE_CONF_OPTS += --without-bz2 +endif + ifeq ($(BR2_PACKAGE_READLINE),y) OCTAVE_CONF_OPTS += \ --enable-readline \