build-without-openssl.bash: suppress "not a dynamic executable" message

We redirected the wrong ldd fd to /dev/null. Fix it.
libgocryptfs
Jakob Unterwurzacher 2 years ago
parent feaeee90e2
commit 3e4545bbac
  1. 2
      build-without-openssl.bash

@ -4,7 +4,7 @@ cd "$(dirname "$0")"
CGO_ENABLED=0 source ./build.bash -tags without_openssl
if ldd gocryptfs > /dev/null ; then
if ldd gocryptfs 2> /dev/null ; then
echo "build-without-openssl.bash: error: compiled binary is not static"
exit 1
fi

Loading…
Cancel
Save