From 3558a98df611ec7c9b4735326e97e17bfde2b9b9 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Wed, 2 Feb 2022 08:56:51 +0100 Subject: [PATCH] package/jasper: disable programs Disable demo programs through JAS_ENABLE_PROGRAMS option which is available and enabled by default since version 2.0.14 and https://github.com/jasper-software/jasper/commit/e02518ce7161cd37ded64af78ac520e0424a9b12 As a side-effect, this will avoid the following build failure raised since bump to version 2.0.33 in commit f791221c8616bfa6d338ce6c287353395cc2c61a: [ 96%] Linking C executable imginfo /home/buildroot/autobuild/instance-3/output-1/per-package/jasper/host/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-uclibc/10.3.0/../../../../x86_64-buildroot-linux-uclibc/bin/ld: attempted static link of dynamic object `/home/buildroot/autobuild/instance-3/output-1/per-package/jasper/host/x86_64-buildroot-linux-uclibc/sysroot/lib/libc.so.1' Fixes: - http://autobuild.buildroot.org/results/b106fdf32ffa9e0ef1254e0a29fdcdc821020e08 Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- package/jasper/jasper.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package/jasper/jasper.mk b/package/jasper/jasper.mk index 05168db763..6b6bbcd6e6 100644 --- a/package/jasper/jasper.mk +++ b/package/jasper/jasper.mk @@ -11,7 +11,9 @@ JASPER_LICENSE = JasPer-2.0 JASPER_LICENSE_FILES = LICENSE JASPER_CPE_ID_VENDOR = jasper_project JASPER_SUPPORTS_IN_SOURCE_BUILD = NO -JASPER_CONF_OPTS = -DJAS_ENABLE_DOC=OFF +JASPER_CONF_OPTS = \ + -DJAS_ENABLE_DOC=OFF \ + -DJAS_ENABLE_PROGRAMS=OFF ifeq ($(BR2_STATIC_LIBS),y) JASPER_CONF_OPTS += -DJAS_ENABLE_SHARED=OFF