aboutsummaryrefslogtreecommitdiff
path: root/core/pkgconf/build
blob: 33730431939aad48d88da7769fec79f61fec8283 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh -e

./configure \
    --prefix=/usr \
    --sysconfdir=/etc

make LDFLAGS="$LDFLAGS -static" CCLD="${CC:-cc} -all-static"
make DESTDIR="$1" install

ln -s pkgconf "$1/usr/bin/pkg-config"