aboutsummaryrefslogtreecommitdiff
path: root/extra/gnupg2/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-06-05 18:23:28 +0300
committerCem Keylan <cem@ckyln.com>2020-06-05 18:23:28 +0300
commit96233f9274d5287fd0947a66fcbe018275745f62 (patch)
treec60fe07122c095b4ad76b73f5a698f9a85fb809d /extra/gnupg2/build
parent9c0bbe60411ce81b4685808ad16b131fd21e9558 (diff)
downloadrepository-96233f9274d5287fd0947a66fcbe018275745f62.tar.gz
gnupg2: link statically
Diffstat (limited to 'extra/gnupg2/build')
-rwxr-xr-xextra/gnupg2/build5
1 files changed, 4 insertions, 1 deletions
diff --git a/extra/gnupg2/build b/extra/gnupg2/build
index 0e9165ba..ef2670bc 100755
--- a/extra/gnupg2/build
+++ b/extra/gnupg2/build
@@ -1,8 +1,11 @@
#!/bin/sh -e
+export LDFLAGS="$LDFLAGS -static"
+
./configure \
--prefix=/usr \
- --sbindir=/usr/bin
+ --sbindir=/usr/bin \
+ --disable-gnutls
make
make DESTDIR="$1" install