summaryrefslogtreecommitdiffstats
path: root/package/tvheadend/tvheadend.mk
diff options
context:
space:
mode:
authorBernd Kuhls <bernd.kuhls@t-online.de>2014-06-11 15:02:06 +0200
committerPeter Korsgaard <peter@korsgaard.com>2014-06-11 15:18:20 +0200
commita27065eb038f7f8d38d9ba82c5030f16d2628a04 (patch)
treedd34fa4601d3d89fa5e6d832a413cc7f95246213 /package/tvheadend/tvheadend.mk
parentd0da839ff84aea159ec557958a72b208a5e94651 (diff)
downloadbuildroot-a27065eb038f7f8d38d9ba82c5030f16d2628a04.tar.gz
buildroot-a27065eb038f7f8d38d9ba82c5030f16d2628a04.zip
package/tvheadend: Add optional dependency to libiconv
To get reproducable builds depend on libiconv if needed. tvheadend configure either shows checking for cc libiconv ... fail or checking for cc libiconv ... ok depending on the presence of libiconv, and gets linked output/host/usr/bin/i586-buildroot-linux-uclibc-readelf -a output/target/usr/bin/tvheadend | grep NEEDED | grep iconv 0x00000001 (NEEDED) Shared library: [libiconv.so.2] Please note that libiconv is not a hard-dependency. Tested with minimal defconfig BR2_TOOLCHAIN_BUILDROOT_LARGEFILE=y BR2_TOOLCHAIN_BUILDROOT_INET_IPV6=y BR2_PACKAGE_LIBICONV=y BR2_PACKAGE_TVHEADEND=y Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/tvheadend/tvheadend.mk')
-rw-r--r--package/tvheadend/tvheadend.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/tvheadend/tvheadend.mk b/package/tvheadend/tvheadend.mk
index c582c0704e..4d0a16d51d 100644
--- a/package/tvheadend/tvheadend.mk
+++ b/package/tvheadend/tvheadend.mk
@@ -14,6 +14,10 @@ ifeq ($(BR2_PACKAGE_AVAHI),y)
TVHEADEND_DEPENDENCIES += avahi
endif
+ifeq ($(BR2_PACKAGE_LIBICONV),y)
+TVHEADEND_DEPENDENCIES += libiconv
+endif
+
TVHEADEND_DEPENDENCIES += dtv-scan-tables
define TVHEADEND_CONFIGURE_CMDS
OpenPOWER on IntegriCloud