From f9c8dd36d36efa145806f7bef97b46382a5442f3 Mon Sep 17 00:00:00 2001 From: horchi Date: Wed, 30 Oct 2019 08:49:08 +0100 Subject: 2019-10-30 version 1.1.101 (horchi)\n - change: Added evaluation of PKG_CONFIG_PATH environment variable (thaks to kfb77@vdr-portal)\n\n --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 7036cc6..1403938 100644 --- a/Makefile +++ b/Makefile @@ -21,7 +21,7 @@ GIT_REV = $(shell git describe --always 2>/dev/null) ### The directory environment: # Use package data if installed...otherwise assume we're under the VDR source directory: -PKGCFG = $(if $(VDRDIR),$(shell pkg-config --variable=$(1) $(VDRDIR)/vdr.pc),$(shell pkg-config --variable=$(1) vdr || pkg-config --variable=$(1) ../../../vdr.pc)) +PKGCFG = $(if $(VDRDIR),$(shell pkg-config --variable=$(1) $(VDRDIR)/vdr.pc),$(shell PKG_CONFIG_PATH="$$PKG_CONFIG_PATH:../../.." pkg-config --variable=$(1) vdr)) LIBDIR = $(call PKGCFG,libdir) LOCDIR = $(call PKGCFG,locdir) -- cgit v1.2.3