#!/bin/bash

cd $BLDDIR
rm -rf ppl-$PPL_VER
tar -xf $SRCDIR/ppl-$PPL_VER.tar.gz
cd ppl-$PPL_VER

LDFLAGS="-Wl,-rpath,/cross-tools/lib" \
    ./configure --prefix=/cross-tools --enable-shared \
    --enable-interfaces="c,cxx" --disable-optimization \
    --with-libgmp-prefix=/cross-tools \
    --with-libgmpxx-prefix=/cross-tools
make 
make install

cd $ROOT
