aboutsummaryrefslogtreecommitdiff
path: root/build-without-openssl.bash
blob: f450caf62cbbfbf3f585974744c6aad78644c25b (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 > /dev/null ; then
	echo "build-without-openssl.bash: error: compiled binary is not static"
	exit 1
fi