summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRolf Ahrenberg <Rolf.Ahrenberg@sci.fi>2016-05-26 19:20:11 +0300
committerRolf Ahrenberg <Rolf.Ahrenberg@sci.fi>2016-05-26 19:20:11 +0300
commita8eb15416c38009efb9562c5d64ef87719ae017c (patch)
tree573e4597fa536682c1dd63dc312149dfd0078a62
parent869ac69c7b78c89c76cd59ba8a2438ad5bb99d89 (diff)
downloadvdr-plugin-live-a8eb15416c38009efb9562c5d64ef87719ae017c.tar.gz
vdr-plugin-live-a8eb15416c38009efb9562c5d64ef87719ae017c.tar.bz2
Fix PKGCFG.
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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)