Source

woocode / sa-auto / src / fontconfig.sh

Full commit
#!/bin/sh

. ./set_app_env.sh;
L_CFLAGS=""
L_CPPFLAGS=""
L_LDFLAGS=""

CFLAGS=" $G_CFLAGS $L_CFLAGS";export CFLAGS;
CPPFLAGS=" $G_CPPFLAGS $L_CPPFLAGS";export CPPFLAGS;
LDFLAGS=" $G_LDFLAGS $L_LDFLAGS";export LDFLAGS;


PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$APP_LIB/libxml/lib/pkgconfig
PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$APP_LIB/freetype/lib/pkgconfig
export PKG_CONFIG_PATH

PATH=$APP_LIB/freetype/bin:$PATH

rm -rf $FONTCONFIG
rm -rf $APP_LIB/fontconfig

tar zxvf $FONTCONFIG.tar.gz

cd $FONTCONFIG

./configure --prefix=$APP_LIB/$FONTCONFIG

make $MAKEOPT &&

make install

ln -s  $APP_LIB/$FONTCONFIG $APP_LIB/fontconfig