make: Miscellaneous minor fixes and improvements #58
1 changed files with 2 additions and 1 deletions
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 <jan@janware.com>
commit
f70b14e92b
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue