mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
defs.mk, make.mk: Add CREATE_PKG_CONFIG variable
It was possible for DEVEL_TARGETS to contain install_PKG_CONFIG without a package config file being built, fixed that. Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
fbdca1e418
commit
c480eeaaca
2 changed files with 17 additions and 10 deletions
|
|
@ -464,6 +464,10 @@ endif
|
|||
|
||||
# -- PKG_CONFIG
|
||||
ifneq ($(findstring $(TARGET_OS),linux),)
|
||||
CREATE_PKG_CONFIG ?= true
|
||||
endif
|
||||
|
||||
ifeq ($(CREATE_PKG_CONFIG),true)
|
||||
INSTALLATION_FILE_TYPES += PKG_CONFIG
|
||||
PKG_CONFIG += $(sort $(filter-out $(DONT_INSTALL),$(wildcard *.pc) $(LOCAL_PKG_CONFIG)))
|
||||
ifeq ($(DEVELOPMENT),true)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue