libgpg-error: copy gpg-error.pc to staging directory 19932/head
authorW. Michael Petullo <mike@flyn.org>
Fri, 18 Nov 2022 02:40:35 +0000 (20:40 -0600)
committerW. Michael Petullo <mike@flyn.org>
Fri, 18 Nov 2022 14:04:05 +0000 (08:04 -0600)
commita93e0269a10cbca0679ae390d6b89aedbb2435e6
tree7c50a7a83c6986da05fa6ed19fd6b732e687a85f
parent1bc9cbf2b7e7401923cd5d71b6c8d66b7a63a247
libgpg-error: copy gpg-error.pc to staging directory

Packages like libassuan and libksba would not compile after updating
libgpg-error to 1.46. This was because gpg-error.m4 (and thus the affected
packages' configure scripts) relies on gpgrt-config, which in turn needs
access to gpg-error.pc. This modifies the libgpg-error build process to
copy gpg-error.pc to OpenWrt's staging directory, so that it is available
for subsequent dependent package builds.

Fixes: https://github.com/openwrt/packages/issues/19880
Signed-off-by: W. Michael Petullo <mike@flyn.org>
libs/libgpg-error/Makefile