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

mk() {
    make \
        PREFIX=/usr \
        "$@"
}

mk -C lib
mk -C programs LDFLAGS="$LDFLAGS -static" lz4 lz4c

mk DESTDIR="$1" install