Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/3] package/jimtcl: install pkg-config file
@ 2026-10-24  7:56 Yegor Yefremov
  2026-10-24  7:56 ` [Buildroot] [PATCH 2/3] package/openocd: fix static build with jimtcl Yegor Yefremov via buildroot
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Yegor Yefremov @ 2026-10-24  7:56 UTC (permalink / raw)
  To: buildroot; +Cc: Ezequiel Garcia

Install jimtcl.pc to staging, so that packages can use pkg-config to
find jimtcl. This is especially needed for static linking, as jimtcl
lists the libraries it links against (e.g. openssl and zlib) in
Libs.private.

Assisted-by: Claude:claude-opus-5-5
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
---
 package/jimtcl/jimtcl.mk | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/package/jimtcl/jimtcl.mk b/package/jimtcl/jimtcl.mk
index f2d59265ad..5e09e776ad 100644
--- a/package/jimtcl/jimtcl.mk
+++ b/package/jimtcl/jimtcl.mk
@@ -71,6 +71,8 @@ define JIMTCL_INSTALL_STAGING_CMDS
 		cp -a $(@D)/$$i $(STAGING_DIR)/usr/include/ || exit 1 ; \
 	done; \
 	$(call JIMTCL_INSTALL_LIB,$(STAGING_DIR))
+	$(INSTALL) -m 0644 -D $(@D)/jimtcl.pc \
+		$(STAGING_DIR)/usr/lib/pkgconfig/jimtcl.pc
 endef
 
 define JIMTCL_INSTALL_TARGET_CMDS
-- 
2.34.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-10-24 21:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-24  7:56 [Buildroot] [PATCH 1/3] package/jimtcl: install pkg-config file Yegor Yefremov
2026-10-24  7:56 ` [Buildroot] [PATCH 2/3] package/openocd: fix static build with jimtcl Yegor Yefremov via buildroot
2026-10-24  7:56 ` [Buildroot] [PATCH 3/3] package/jimtcl: fix optional openssl and zlib dependencies Yegor Yefremov
2026-10-24 21:31 ` [Buildroot] [PATCH 1/3] package/jimtcl: install pkg-config file Thomas Petazzoni via buildroot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox