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>
This commit is contained in:
parent
1bc9cbf2b7
commit
a93e0269a1
1 changed files with 5 additions and 0 deletions
|
@ -91,6 +91,11 @@ define Build/InstallDev
|
||||||
$(INSTALL_DATA) \
|
$(INSTALL_DATA) \
|
||||||
$(PKG_INSTALL_DIR)/usr/share/aclocal/gpgrt.m4 \
|
$(PKG_INSTALL_DIR)/usr/share/aclocal/gpgrt.m4 \
|
||||||
$(1)/usr/share/aclocal/
|
$(1)/usr/share/aclocal/
|
||||||
|
|
||||||
|
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig
|
||||||
|
$(CP) \
|
||||||
|
$(PKG_INSTALL_DIR)/usr/lib/pkgconfig/gpg-error.pc \
|
||||||
|
$(1)/usr/lib/pkgconfig
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/libgpg-error/install
|
define Package/libgpg-error/install
|
||||||
|
|
Loading…
Reference in a new issue