summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2014-01-05 16:55:13 +0200
committerVille Skyttä <ville.skytta@iki.fi>2014-01-05 16:55:13 +0200
commitad71c0b22d21daf4f3463dd67e2ba8d5f1f9a742 (patch)
treeec573140cf1038e99f3673ad406e2454a663fd42
parent7d08b6e6095eaed35539d2cb30f22fb9b222e98e (diff)
downloadvdr-plugin-osdteletext-ad71c0b22d21daf4f3463dd67e2ba8d5f1f9a742.tar.gz
vdr-plugin-osdteletext-ad71c0b22d21daf4f3463dd67e2ba8d5f1f9a742.tar.bz2
Avoid pkg-config warnings.
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index acbc86b..40d2d5f 100644
--- a/Makefile
+++ b/Makefile
@@ -15,7 +15,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)