]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
libassuan: don't search for gpgrt-config on build host
authorGyorgy Sarvari <skandigraun@gmail.com>
Mon, 8 Sep 2025 14:49:55 +0000 (16:49 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 11 Sep 2025 09:45:09 +0000 (10:45 +0100)
commitd5e41e1cee17c25a63a9df0769052ff4dce44333
tree2a72be19422845622372162d4940a50ec6a2143e
parent5b86efb5c9ca782fd0f8ff306f82583ec1e5e909
libassuan: don't search for gpgrt-config on build host

When another project uses the libassuan.m4 file to find libassuan details,
the macro first tries to execute the gpgrt-config executable if it can find
any in the PATH. However it also prepends the PATH with ${prefix}/bin, which
usually translates to /usr/bin - in case the build host has this executable
installed, then it is executed, and it shows warnings about mis-matched
architecture before pkg-config would be executed.

To avoid this, extend the existing patch to not prepend the PATH with the
build host path - the existing PATH should be good enough.

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Cc: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-support/libassuan/libassuan/libassuan-add-pkgconfig-support.patch