Avoiding unnecessary pkg-config warnings in plugin Makefiles

This commit is contained in:
Klaus Schmidinger
2014-01-01 13:35:13 +01:00
parent 16dd077fb2
commit ea613e6b26
33 changed files with 84 additions and 42 deletions

View File

@@ -8105,3 +8105,7 @@ Video Disk Recorder Revision History
- Deleted a superfluous assignment in cPipe::Open() (reported by Ville Skytt<74>).
- 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<74>).
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))