summaryrefslogtreecommitdiff
path: root/build.bash
diff options
context:
space:
mode:
Diffstat (limited to 'build.bash')
-rwxr-xr-xbuild.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.bash b/build.bash
index 2f2d1dd..d6f6b7f 100755
--- a/build.bash
+++ b/build.bash
@@ -84,7 +84,7 @@ GO_LDFLAGS="-X main.GitVersion=$GITVERSION -X main.GitVersionFuse=$GITVERSIONFUS
# If LDFLAGS is set, add it as "-extldflags".
if [[ -n ${LDFLAGS:-} ]] ; then
- GO_LDFLAGS="-extldflags=$LDFLAGS $GO_LDFLAGS"
+ GO_LDFLAGS="$GO_LDFLAGS \"-extldflags=$LDFLAGS\""
fi
# Actual "go build" call