mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-21 13:47:39 +01:00
defs.mk, make.mk, create-pkg-config.sh: Some additions to package-config creation
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
38712ed260
commit
342ec62622
3 changed files with 18 additions and 5 deletions
|
|
@ -38,8 +38,9 @@ install-links:
|
|||
do-install-links:
|
||||
@$(call install_links,MAKE)
|
||||
|
||||
ifeq ($(USE_PROJECT_LIB),true)
|
||||
CREATE_PKG_CONFIG_OPTS += -V blah=blub
|
||||
ifeq ($(EXPORT_PROJECT_LIB),true)
|
||||
CREATE_PKG_CONFIG_OPTS += -c "-I$(PROJECT_DIRPATH)/include"
|
||||
CREATE_PKG_CONFIG_OPTS += -l "-l$(PROJECT)"
|
||||
endif
|
||||
|
||||
$(LOCAL_PKG_CONFIG): $(PROJECT_DESCR_FILE) $(MODDIR)/make/make.mk $(MOD_SCRIPT_DIR)/create-pkg-config.sh
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue