From f70b14e92b06466bb103764e1f1399bb7dc55a26 Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Tue, 11 Aug 2026 08:07:30 +0200 Subject: [PATCH] defs.mk: Disable BUILD_PKG_CONFIG BUILD_PKG_CONFIG installs files across project directories into $(JWBDIR) because of this: BUILD_PKG_CONFIGDIR = $(JWBDIR)/pkgconfig The concept is currently not used by any downstream project anymore, hence it lacks sufficient testing at this point. Moreover, it breaks building repos which are sandboxed to their own root directory, because it tries to install the generated .pc file back into $(JWBDIR). The concept itself isn't entirely off, so leave the code in, disabled, with a comment. Signed-off-by: Jan Lindemann --- make/defs.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/make/defs.mk b/make/defs.mk index 2d135613..88f7cdb9 100644 --- a/make/defs.mk +++ b/make/defs.mk @@ -505,7 +505,8 @@ ifeq ($(CREATE_PKG_CONFIG),true) BUILD_PKG_CONFIGDIR = $(TOPDIR)/make endif LOCAL_PKG_CONFIG = $(PROJECT).pc - BUILD_PKG_CONFIG = $(BUILD_PKG_CONFIGDIR)/$(LOCAL_PKG_CONFIG) + # As of now, this is not used by any downstream project, so disable it to reduce complexity. + #BUILD_PKG_CONFIG = $(BUILD_PKG_CONFIGDIR)/$(LOCAL_PKG_CONFIG) INSTALLED_PKG_CONFIG = $(addprefix $(INSTALL_PKG_CONFIGDIR)/,$(PKG_CONFIG)) endif