From 17d3c34307fba1a15dfb3df3de23bde8b93c7c10 Mon Sep 17 00:00:00 2001 From: Brandon Farmer Date: Tue, 16 Apr 2019 15:14:52 -0700 Subject: [PATCH] Fix build script for go modules --- etc/build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/build.py b/etc/build.py index 38215b96c..41e29c364 100755 --- a/etc/build.py +++ b/etc/build.py @@ -500,7 +500,7 @@ def build(version=None, return False if platform == 'windows': target = target + '.exe' - build_command += "go build -o {} ".format(os.path.join(outdir, target)) + build_command += " GO111MODULES=on go build -o {} ".format(os.path.join(outdir, target)) if race: build_command += "-race " if len(tags) > 0: