aboutsummaryrefslogtreecommitdiff
path: root/core/zlib/build
blob: c14fa5248eefbc6221f48fad171ee785112a135b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh -e

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

./configure \
    --prefix=/usr \
    --libdir=/usr/lib \
    --shared

make
make DESTDIR="$1" install