From c9e2be0cd80e4318db60312bdf6abab472219048 Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Sun, 23 Nov 2014 20:56:52 +0100 Subject: [PATCH] package/tvheadend: Add support for liburiparser Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- package/tvheadend/tvheadend.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package/tvheadend/tvheadend.mk b/package/tvheadend/tvheadend.mk index 10c9201d5a..f593b3f00e 100644 --- a/package/tvheadend/tvheadend.mk +++ b/package/tvheadend/tvheadend.mk @@ -32,12 +32,18 @@ ifeq ($(BR2_PACKAGE_LIBICONV),y) TVHEADEND_DEPENDENCIES += libiconv endif +ifeq ($(BR2_PACKAGE_LIBURIPARSER),y) +TVHEADEND_DEPENDENCIES += liburiparser +TVHEADEND_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) $(if $(BR2_USE_WCHAR),,-DURI_NO_UNICODE)" +endif + TVHEADEND_DEPENDENCIES += dtv-scan-tables define TVHEADEND_CONFIGURE_CMDS (cd $(@D); \ $(TARGET_CONFIGURE_OPTS) \ $(TARGET_CONFIGURE_ARGS) \ + $(TVHEADEND_CONF_ENV) \ ./configure \ --prefix=/usr \ --arch="$(ARCH)" \ -- 2.30.2