summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2013-06-22 10:07:37 +0100
committerMichael Williamson <mike@zwobble.org>2013-06-22 10:07:37 +0100
commita258b2f7f3425e4d056ac55c6211f15faa98452d (patch)
treef4cee60ac649b18d3040e2e727c8eab7201ba273 /setup.py
parent7c7890e7aca19518629864f95563fcffd928338c (diff)
Match changes in jq
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/setup.py b/setup.py
index 544a710..130090a 100644
--- a/setup.py
+++ b/setup.py
@@ -24,7 +24,7 @@ class jq_build_ext(build_ext):
subprocess.check_call(args, cwd=path_in_dir(jq_lib_dir))
if os.path.exists(jq_lib_dir):
- command(["git", "pull"])
+ command(["git", "fetch"])
else:
subprocess.check_call([
"git", "clone",
@@ -32,8 +32,9 @@ class jq_build_ext(build_ext):
jq_lib_dir
])
- # Tested with commit db9e52ee57
+ # Tested with commit e8643787cf
command(["git", "checkout", "libjq"])
+ command(["mkdir", "-p", "m4"])
command(["autoreconf", "-i"])
command(["./configure", "CFLAGS=-fPIC"])
command(["make", "clean"])