Closed kk6ho closed 5 months ago
we need to convert HAVE_RTLD_DI_ORIGIN detection logic to a meson option. Or second way would be delete the hunk for configure.ac and pass-DRTLD_DI_ORIGIN
via CFLAGS
in bbappend
CFLAGS:append:libc-glibc = " -DRTLD_DI_ORIGIN"
I was going to attempt a PR first, but I'm weak on Autotools and less familiar with Meson. Sounds like a good reason for me to read the Meson tutorial. :-)
Description
v4l-utils was upgraded in master branch of meta-oe from 1.24 to 1.26.1. It's build system changed from Autotools to Meson. @kraj 's musl related update to
0001-Make-plugin-directory-relative-to-ORIGIN.patch
45bf0e8e ("v4l-utils: Use RTLD_DI_ORIGIN when its available", 2023-12-13) fails to apply hunk 4. It tries to modifyconfigure.ac
which no longer exists.meta-tegra has 2 copies of the patch in these locations:
external/openembedded-layer/recipes-multimedia/v4l2apps/v4l-utils/0001-Make-plugin-directory-relative-to-ORIGIN.patch
recipes-multimedia/libv4l2/libv4l2-minimal/0001-Make-plugin-directory-relative-to-ORIGIN.patch
They were identical in nanbield, but now different in master. Should they stay identical?
To Reproduce
bitbake v4l-utils
using the master branches of the meta layers.