aboutsummaryrefslogtreecommitdiff
path: root/build-without-aegis.bash
blob: c20ca1a2ba37e451ed43093508695ff65dab82d0 (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_aegis

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