From c952d4574a889e24dac39bf5c34d7d2de4bd11e9 Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Sat, 9 Nov 2024 00:39:07 +0000 Subject: [PATCH] libgcrypt: use pkgconfig metadata in InstallDev Install pkgconfig metadata to allow detection of libgcrypt during build of other packages which rely on pkgconfig. Signed-off-by: Daniel Golle --- libs/libgcrypt/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/libgcrypt/Makefile b/libs/libgcrypt/Makefile index bde8880321..6edfe2ac21 100644 --- a/libs/libgcrypt/Makefile +++ b/libs/libgcrypt/Makefile @@ -54,13 +54,14 @@ CONFIGURE_ARGS += \ TARGET_CFLAGS += $(FPIC) define Build/InstallDev - $(INSTALL_DIR) $(1)/usr/bin $(2)/bin $(1)/usr/include $(1)/usr/lib $(1)/usr/share/aclocal + $(INSTALL_DIR) $(1)/usr/bin $(2)/bin $(1)/usr/include $(1)/usr/lib/pkgconfig $(1)/usr/share/aclocal $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/libgcrypt-config $(1)/usr/bin/ $(CP) $(PKG_INSTALL_DIR)/usr/include/gcrypt*.h $(1)/usr/include/ $(CP) $(PKG_INSTALL_DIR)/usr/lib/libgcrypt.{la,a,so*} $(1)/usr/lib/ $(CP) $(PKG_INSTALL_DIR)/usr/share/aclocal/libgcrypt.m4 $(1)/usr/share/aclocal/ $(SED) 's,^\(prefix\|exec_prefix\)=.*,\1=$(STAGING_DIR)/usr,g' $(1)/usr/bin/libgcrypt-config $(LN) ../../usr/bin/libgcrypt-config $(2)/bin/libgcrypt-config + $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/*.pc $(1)/usr/lib/pkgconfig endef define Package/libgcrypt/install