From a8eb15416c38009efb9562c5d64ef87719ae017c Mon Sep 17 00:00:00 2001 From: Rolf Ahrenberg Date: Thu, 26 May 2016 19:20:11 +0300 Subject: Fix PKGCFG. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5d7300b..e2e78e5 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,7 @@ HAVE_LIBPCRECPP = $(shell pcre-config --libs-cpp) ### 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) PLGCFG = $(call PKGCFG,plgcfg) -- cgit v1.2.3