summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitar Petrovski <dimeptr@gmail.com>2014-01-07 18:13:51 (GMT)
committerDimitar Petrovski <dimeptr@gmail.com>2014-01-07 18:13:51 (GMT)
commit69b47ba4bf0195fd6820beb2cf4f7c7ea31f4011 (patch)
treec26bb2d425a543edc9399798811951b34d319971
parent5149d28a52c7e103ad1007494cb404a1d128bc1b (diff)
downloadvdr-plugin-eepg-69b47ba4bf0195fd6820beb2cf4f7c7ea31f4011.tar.gz
vdr-plugin-eepg-69b47ba4bf0195fd6820beb2cf4f7c7ea31f4011.tar.bz2
Updated PKGCFG variable
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 637463f..c7b93d0 100644
--- a/Makefile
+++ b/Makefile
@@ -31,7 +31,7 @@ VERSION = $(shell grep 'static const char \*VERSION *=' $(PLUGIN).c | awk '{ pri
### 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)