aboutsummaryrefslogtreecommitdiff
path: root/extra/gnupg2/build
diff options
context:
space:
mode:
Diffstat (limited to 'extra/gnupg2/build')
-rwxr-xr-xextra/gnupg2/build4
1 files changed, 3 insertions, 1 deletions
diff --git a/extra/gnupg2/build b/extra/gnupg2/build
index ef2670bc..da3d3351 100755
--- a/extra/gnupg2/build
+++ b/extra/gnupg2/build
@@ -1,11 +1,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
+ # --disable-gnutls
make
make DESTDIR="$1" install