diff --git a/packages/multimedia/vdr-plugin-restfulapi/package.mk b/packages/multimedia/vdr-plugin-restfulapi/package.mk index 6b904c3413..dac3c2f06f 100644 --- a/packages/multimedia/vdr-plugin-restfulapi/package.mk +++ b/packages/multimedia/vdr-plugin-restfulapi/package.mk @@ -45,7 +45,6 @@ make_target() { make \ LIBDIR="." \ LOCDIR="./locale" \ - LIBS="-lcxxtools-http -lcxxtools" \ all install-i18n } diff --git a/packages/multimedia/vdr-plugin-restfulapi/patches/vdr-plugin-restfulapi-pkgconfig.patch b/packages/multimedia/vdr-plugin-restfulapi/patches/vdr-plugin-restfulapi-pkgconfig.patch new file mode 100644 index 0000000000..c0c9cf8512 --- /dev/null +++ b/packages/multimedia/vdr-plugin-restfulapi/patches/vdr-plugin-restfulapi-pkgconfig.patch @@ -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) +