aboutsummaryrefslogtreecommitdiff
path: root/core/make/build
blob: 265eeb2d14e70dd6b8683647a4f66c174a39db01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh -e

export LDFLAGS="$LDFLAGS -static"

./configure \
    --prefix=/usr \
    --disable-nls \
    --without-guile \
    "$(cpt l --check make -- '' --disable-dependency-tracking)"

if command -v make >/dev/null; then
    make
else
    ./build.sh
    PATH=$PWD:$PATH
fi
make DESTDIR="$1" install