#!/bin/sh

. config/options $1

export PYTHONXCPREFIX="$SYSROOT_PREFIX/usr"
export LDFLAGS="$LDFLAGS -L$SYSROOT_PREFIX/usr/lib -L$SYSROOT_PREFIX/lib"

cd $PKG_BUILD

python setup.py build --cross-compile bdist_egg --exclude-source-files
