aboutsummaryrefslogtreecommitdiff
path: root/extra/yash/build
blob: 9271a93ae23a5b3d459b0648b4916f3c89073bbe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh -e

# LANG variable can often lead to failures in compiling lineedit commands. So we
# disable it.
unset LANG
export LDFLAGS="$LDFLAGS -static"

./configure \
    --prefix=/usr \
    --enable-help \
    --enable-history \
    --disable-nls \
    --disable-printf \
    --enable-socket \
    --enable-lineedit

make
make DESTDIR="$1" install