vdr: make build with libiconv optional

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2012-01-16 12:36:46 +01:00
parent 9918dd2793
commit 2c57b4ef3c

View File

@ -36,11 +36,16 @@ PLUGINLIBDIR = /usr/lib/vdr
VIDEODIR = /storage/videos
CONFDIR = /storage/.config/vdr
LOCDIR = /usr/share/locale
LIBS += -liconv
NO_KBD=yes
VDR_USER=root
EOF
if [ "$ICONV" = "libiconv" ]; then
cat >> Make.config <<EOF
LIBS += -liconv
EOF
fi
make
make include-dir