setup.py: be more verbose in the go build

This commit is contained in:
John Bartholomew 2025-02-22 20:05:39 +00:00
parent 7c36700ad7
commit cb4d16f03e

View File

@ -41,7 +41,7 @@ def get_version():
class BuildJsonnetExt(BuildExt):
def run(self):
p = Popen(
["go", "build", "-o", "libgojsonnet.a", "-buildmode=c-archive"],
["go", "build", "-x", "-o", "libgojsonnet.a", "-buildmode=c-archive"],
cwd=LIB_DIR,
stdout=PIPE,
)