aboutsummaryrefslogtreecommitdiff
path: root/extra/gnupg2/build
diff options
context:
space:
mode:
Diffstat (limited to 'extra/gnupg2/build')
-rwxr-xr-xextra/gnupg2/build6
1 files changed, 4 insertions, 2 deletions
diff --git a/extra/gnupg2/build b/extra/gnupg2/build
index ef2670bc..68be98c6 100755
--- a/extra/gnupg2/build
+++ b/extra/gnupg2/build
@@ -1,11 +1,13 @@
#!/bin/sh -e
export LDFLAGS="$LDFLAGS -static"
+export PKG_CONFIG=pkgconf\ --static
+
+cpt l -q gnutls && export LIBGNUTLS_LIBS="-lgnutls -latomic -lnettle -lhogweed -lnettle"
./configure \
--prefix=/usr \
- --sbindir=/usr/bin \
- --disable-gnutls
+ --sbindir=/usr/bin
make
make DESTDIR="$1" install