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

export LDFLAGS="$LDFLAGS -static"

./configure \
    --prefix=/usr \
    --with-system-zlib

make
make DESTDIR="$1" install

clinst -Dm644 doas.conf "$1/etc/doas.conf"