summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Hanisch <dvb@flensrocker.de>2014-01-07 18:57:05 (GMT)
committerLars Hanisch <dvb@flensrocker.de>2014-01-07 18:57:05 (GMT)
commit027ca58137467a44ee382e732781042cacba355c (patch)
tree3cbf589631c13b89185779b108d387b5c27e87ba
parent98d28e503f8be25e789cffd6714ceff38e98236d (diff)
downloadvdr-plugin-pvrinput-027ca58137467a44ee382e732781042cacba355c.tar.gz
vdr-plugin-pvrinput-027ca58137467a44ee382e732781042cacba355c.tar.bz2
use new PKGCONFIG style from vdr 2.1.3
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 67f09e9..aa94782 100644
--- a/Makefile
+++ b/Makefile
@@ -16,7 +16,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)