flac: 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:40 +02:00
parent 61d328ca8e
commit 22ef84c903

View File

@@ -43,6 +43,10 @@ PKG_CONFIGURE_OPTS_TARGET="--disable-rpath \
--with-ogg=$SYSROOT_PREFIX/usr \
--with-gnu-ld"
if [ "$MEDIACENTER" = "xbmc-master" ]; then
PKG_CONFIGURE_OPTS_TARGET="$PKG_CONFIGURE_OPTS_TARGET --enable-static --disable-shared"
fi
if [ $TARGET_ARCH = "i386" -o $TARGET_ARCH = "x86_64" ]; then
PKG_CONFIGURE_OPTS_TARGET="$PKG_CONFIGURE_OPTS_TARGET --enable-sse"
else