vdr-plugin-restfulapi: add patch to use pkg-config

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2016-01-07 06:58:19 +01:00
parent 01a88fc2ad
commit 6a9b68288b
2 changed files with 12 additions and 1 deletions

View File

@ -45,7 +45,6 @@ make_target() {
make \
LIBDIR="." \
LOCDIR="./locale" \
LIBS="-lcxxtools-http -lcxxtools" \
all install-i18n
}

View File

@ -0,0 +1,12 @@
diff -Naur vdr-plugin-restfulapi-0.2.1.4/Makefile vdr-plugin-restfulapi-0.2.1.4.patch/Makefile
--- vdr-plugin-restfulapi-0.2.1.4/Makefile 2015-03-18 23:12:01.000000000 +0100
+++ vdr-plugin-restfulapi-0.2.1.4.patch/Makefile 2016-01-07 05:24:24.036888492 +0100
@@ -49,7 +49,7 @@
DEFINES += -DPLUGIN_NAME_I18N='"$(PLUGIN)"'
-LIBS += $(shell cxxtools-config --libs) -lcxxtools-http
+LIBS += $(shell pkg-config --libs cxxtools-http cxxtools)
CONFDIR = $(call PKGCFG,configdir)
PLGCONFDIR = $(CONFDIR)/plugins/$(PLUGIN)