aboutsummaryrefslogtreecommitdiff
path: root/extra/readline/build
blob: 07ec80283ad926960fadd5d8554015fdea1ba11a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh -e

export CFLAGS="$CFLAGS -fPIC"

for patch in readline80-00*; do
    patch -p0 < "$patch"
done

./configure \
    --prefix=/usr

make SHLIB_LIBS=-lncurses
make DESTDIR="$1" install