summaryrefslogtreecommitdiff
path: root/build-without-openssl.bash
diff options
context:
space:
mode:
authorJakob Unterwurzacher2016-12-06 22:44:58 +0100
committerJakob Unterwurzacher2016-12-06 22:47:18 +0100
commit6c86afb5cd63b099d1762da1a2ce3f76703dc4fb (patch)
tree1514b72d792604f10aba567eaac77284f0087f67 /build-without-openssl.bash
parent9b5738457483c18f2197eae758a72526ca6730ca (diff)
build-without-openssl: compile statically
$ ldd gocryptfs not a dynamic executable $ file gocryptfs gocryptfs: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, not stripped
Diffstat (limited to 'build-without-openssl.bash')
-rwxr-xr-xbuild-without-openssl.bash1
1 files changed, 1 insertions, 0 deletions
diff --git a/build-without-openssl.bash b/build-without-openssl.bash
index 670832a..6b7917f 100755
--- a/build-without-openssl.bash
+++ b/build-without-openssl.bash
@@ -4,4 +4,5 @@ set -eu
cd "$(dirname "$0")"
+export CGO_ENABLED=0
exec ./build.bash -tags without_openssl