lame: build as static library if $MEDIACENTER=xbmc-master

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2014-07-19 08:17:58 +02:00
parent 22ef84c903
commit ec8efff4de

View File

@ -50,6 +50,10 @@ PKG_CONFIGURE_OPTS_TARGET="--disable-nasm \
--with-fileio=lame \
GTK_CONFIG=no"
if [ "$MEDIACENTER" = "xbmc-master" ]; then
PKG_CONFIGURE_OPTS_TARGET="$PKG_CONFIGURE_OPTS_TARGET --enable-static --disable-shared"
fi
post_make_target() {
# dont build parallel
MAKEFLAGS=-j1