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

[ "$CPT_CROSS_TRIPLET" ] && CC=$CPT_CROSS_TRIPLET-cc

cpt-configure

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

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