Skip to content

Commit d09ac16

Browse files
authored
Update setupext.py
run autogen.sh before configure
1 parent d8ede1a commit d09ac16

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

setupext.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -627,6 +627,8 @@ def do_custom_build(self, env):
627627
},
628628
**env,
629629
}
630+
if os.path.exists(os.path.join(src_path, "autogen.sh")):
631+
subprocess.check_call(["sh", "./autogen.sh"], env=env, cwd=src_path)
630632
env["CFLAGS"] = env.get("CFLAGS", "") + " -fPIC"
631633
configure = [
632634
"./configure", "--with-zlib=no", "--with-bzip2=no",

0 commit comments

Comments
 (0)