From ea613e6b2651bedacce9413df0a9e3c80afb6c1c Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Wed, 1 Jan 2014 13:35:13 +0100 Subject: Avoiding unnecessary pkg-config warnings in plugin Makefiles --- HISTORY | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'HISTORY') diff --git a/HISTORY b/HISTORY index 668f686a..2ca003fc 100644 --- a/HISTORY +++ b/HISTORY @@ -8105,3 +8105,7 @@ Video Disk Recorder Revision History - Deleted a superfluous assignment in cPipe::Open() (reported by Ville Skyttä). - The script given to VDR with the '-r' option is now also called after the recording process has actually started (thanks to Christian Kaiser). +- Avoiding unnecessary pkg-config warnings in plugin Makefiles (thanks to Ville Skyttä). + Plugin authors may want to apply the following change to their Makefile: + -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)) -- cgit v1.2.3