#!/bin/sh -e

sed -i 's/-I/-isystem /g' libelf.pc.in

./configure \
    --prefix=/usr \
    --enable-nls=auto

make
make prefix="$1/usr" install