summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitar Petrovski <dimeptr@gmail.com>2014-01-07 19:18:51 +0100
committerDimitar Petrovski <dimeptr@gmail.com>2014-01-07 19:18:51 +0100
commitcbe347f60c34892382452580af39a55c550d9cb5 (patch)
treed700ac2b3217b3f23750724e44dbf512898dd365
parentec10b1df60b96477c8cb5e24d9833eb4bdb75f99 (diff)
downloadvdr-plugin-eepg-cbe347f60c34892382452580af39a55c550d9cb5.tar.gz
vdr-plugin-eepg-cbe347f60c34892382452580af39a55c550d9cb5.tar.bz2
Updated PKGCFG variable
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3b9c86f..bf209b6 100644
--- a/Makefile
+++ b/Makefile
@@ -36,7 +36,7 @@ VERSION := $(RELEASE)$(SUBREL)
### 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)