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

export LDFLAGS="$LDFLAGS -static"
export LIBGNUTLS_CFLAGS="$(pkgconf --static --cflags gnutls)"
export LIBGNUTLS_LIBS="$(pkgconf --static --libs gnutls)"

./configure \
    --prefix=/usr \
    --sbindir=/usr/bin \
    # --disable-gnutls

make
make DESTDIR="$1" install