summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrofafor <rofafor>2014-01-07 16:06:39 +0000
committerrofafor <rofafor>2014-01-07 16:06:39 +0000
commitf28b69caecff6c86e45d80f0ce72413006ab4cb4 (patch)
tree9dc87d8ca08faf4458bddd2fa53392d090b08448
parent0595b954611a780aa9cfca66b54271082d9e013e (diff)
downloadxineliboutput-f28b69caecff6c86e45d80f0ce72413006ab4cb4.tar.gz
xineliboutput-f28b69caecff6c86e45d80f0ce72413006ab4cb4.tar.bz2
Updated PKGCFG variable.
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index acb329dc..c2b0631a 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@
# See the main source file 'xineliboutput.c' for copyright information and
# how to reach the author.
#
-# $Id: Makefile,v 1.116 2013-10-28 15:31:45 rofafor Exp $
+# $Id: Makefile,v 1.117 2014-01-07 16:06:39 rofafor Exp $
#
# The official name of this plugin.
@@ -63,7 +63,7 @@ endif
###
# 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)