aboutsummaryrefslogtreecommitdiff
path: root/build-without-openssl.bash
blob: d5dc2182d6d9a0396f1aab10c613a9a86e18ea74 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash -eu

cd "$(dirname "$0")"

CGO_ENABLED=0 source ./build.bash -tags without_openssl

if ldd gocryptfs 2> /dev/null ; then
	echo "build-without-openssl.bash: error: compiled binary is not static"
	exit 1
fi