aboutsummaryrefslogtreecommitdiff
path: root/core/otools/build
blob: 87463bca3dc692de3276de744fd5b0a92987c580 (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

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