libpng:host: build static

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2014-08-25 19:26:16 +03:00
parent e3b44b81ed
commit 7e1cc7a536

View File

@ -37,7 +37,10 @@ PKG_CONFIGURE_OPTS_TARGET="ac_cv_lib_z_zlibVersion=yes \
--enable-static \
--disable-shared"
PKG_CONFIGURE_OPTS_HOST="--enable-static --disable-shared"
pre_configure_host() {
export CFLAGS="$CFLAGS -fPIC -DPIC"
export CPPFLAGS="$CPPFLAGS -I$ROOT/$TOOLCHAIN/include"
}