#!/bin/sh

. config/options $1

# pango fails to build with linker plugin (segfault)
  strip_linker_plugin

cd $PKG_BUILD
./configure --host=$TARGET_NAME \
            --build=$HOST_NAME \
            --prefix=/usr \
            --sysconfdir=/etc \
            --disable-static \
            --enable-shared \
            --disable-doc-cross-references \
            --enable-debug=no

make
$MAKEINSTALL
