Files
Bernd Kuhls 7fbd147763 package/libudfread: needs threads
This patch fixes the build for non-threaded toolchains occurring since the
bump to 1.2.0 by buildroot commit 537555a37f
and the switch of the build system to meson.

libudfread uses

dependency('threads', required: false)
https://code.videolan.org/videolan/libudfread/-/blob/1.2.0/meson.build?ref_type=tags#L66

which falsely detects threads support:

Run-time dependency threads found: YES

although the toolchain lacks threads support:

$ grep THREADS .config | grep =
BR2_PTHREADS_NONE=y

There is an open Meson bug report discussing this problem:
https://github.com/mesonbuild/meson/issues/553#issuecomment-421562520

The only dependees of libudfread, kodi and libbluray, depend on thread
support themselves so we require threads support for libudfread as well
to fix the build error.

Fixes:
https://autobuild.buildroot.net/results/839/839d1b879187454ba9064845451f2c2ff398a663/

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2025-11-12 20:35:20 +01:00
..
2025-11-12 20:35:20 +01:00