aboutsummaryrefslogtreecommitdiff
path: root/extra/gnupg2/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2022-07-15 17:09:28 +0300
committerCem Keylan <cem@ckyln.com>2022-07-15 17:09:28 +0300
commitceb4f6504f62f405e15144f75554d473c8cc4c94 (patch)
treeae169abe56f6100aca6942936febb5c56d3c8705 /extra/gnupg2/build
parentc70d387eb6eb00e6b98720f38eadf9e19dca0829 (diff)
downloadrepository-ceb4f6504f62f405e15144f75554d473c8cc4c94.tar.gz
gnupg2: bump to 2.3.7
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