package/openjpeg: fix build with threads disabled
PATCH 1/1 package/openjpeg: fix build with threads disabled
Fixes
http://autobuild.buildroot.net/results/f16/f16a558c30199a92e93a31e0ba391b99a9bd689f/
Signed-off-by Bernd Kuhls <[email protected]>
--- package/openjpeg/openjpeg.mk | 6 ++++++ 1 file changed, 6 insertions(+)
package/openjpeg/openjpeg.mk +6 -0
@@ -15,4 +15,10 @@ OPENJPEG_DEPENDENCIES += $(if $(BR2_PACKAGE_LIBPNG),libpng) OPENJPEG_DEPENDENCIES += $(if $(BR2_PACKAGE_TIFF),tiff) OPENJPEG_DEPENDENCIES += $(if $(BR2_PACKAGE_LCMS2),lcms2) +ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) +OPENJPEG_CONF_OPTS += -DOPJ_USE_THREAD=ON +else +OPENJPEG_CONF_OPTS += -DOPJ_USE_THREAD=OFF +endif + $(eval $(cmake-package))
Signature · 1 line
2.11.0
Thomas Petazzoni
AppliedPATCH 1/1 package/openjpeg: fix build with threads disabled
Hello,
Quoted 7 lines · Bernd Kuhls
Fixes
http://autobuild.buildroot.net/results/f16/f16a558c30199a92e93a31e0ba391b99a9bd689f/Signed-off-by Bernd Kuhls <[email protected]>--- package/openjpeg/openjpeg.mk | 6 ++++++ 1 file changed, 6 insertions(+)
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com