1#!/bin/sh -e
2
3: > missing
4
5# this should be fixed
6# build once with shared libs
7./configure \
8 --prefix=/usr \
9 --without-debug
10
11make
12make DESTDIR="$1" install
13
14# rebuild, but with --static flag, to produce static bins
15./configure \
16 --prefix=/usr \
17 --without-debug \
18 --disable-shared \
19 --enable-static
20
21make LDFLAGS="$LDFLAGS --static"
22make DESTDIR="$1" install