summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Hanisch <dvb@flensrocker.de>2015-10-30 00:34:35 +0100
committerLars Hanisch <dvb@flensrocker.de>2015-10-30 00:34:35 +0100
commitdb07e2d8b8b36fccd88d5170886d7cbe54239326 (patch)
tree423a6d89656cb018928275eb7254570368e67740
parent5c83dd552a867e3fec0d166527d6545c0253cd42 (diff)
downloadvdr-plugin-dynamite-db07e2d8b8b36fccd88d5170886d7cbe54239326.tar.gz
vdr-plugin-dynamite-db07e2d8b8b36fccd88d5170886d7cbe54239326.tar.bz2
adjust Makefile to current vdr version
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a7c2b3f..c2e1f6d 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)