We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d09ac16 commit 774ac2fCopy full SHA for 774ac2f
setupext.py
@@ -628,7 +628,12 @@ def do_custom_build(self, env):
628
**env,
629
}
630
if os.path.exists(os.path.join(src_path, "autogen.sh")):
631
- subprocess.check_call(["sh", "./autogen.sh"], env=env, cwd=src_path)
+ try:
632
+ subprocess.check_call(["sh", "./autogen.sh"], env=env, cwd=src_path)
633
+ except Exception as err:
634
+ print(err)
635
+ print("Warning: Can not run autogen, the build pipeline may fail")
636
+ print("Continue try to build freetype.")
637
env["CFLAGS"] = env.get("CFLAGS", "") + " -fPIC"
638
configure = [
639
"./configure", "--with-zlib=no", "--with-bzip2=no",
0 commit comments