aboutsummaryrefslogtreecommitdiff
path: root/extra/dash/build
blob: 704d598eb6d0ba251709cd6202b1e01eb1db4e50 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh -e

export CFLAGS="$CFLAGS -static"

./configure \
    --prefix=/usr

make
make DESTDIR="$1" install

ln -s dash "$1/usr/bin/sh"