Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 8bfd2c4

Browse filesBrowse files
authored
Merge pull request #22755 from wqh17101/issue-22754
Maybe run autogen as part of freetype install
2 parents da84e38 + 1fe1cd9 commit 8bfd2c4
Copy full SHA for 8bfd2c4

File tree

Expand file treeCollapse file tree

1 file changed

+8
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+8
-0
lines changed

‎setupext.py

Copy file name to clipboardExpand all lines: setupext.py
+8Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -617,6 +617,14 @@ def do_custom_build(self, env):
617617
},
618618
**env,
619619
}
620+
configure_ac = os.path.join(
621+
src_path, "builds", "unix", "configure.ac")
622+
if os.path.exists(os.path.join(src_path, "autogen.sh")) \
623+
and not os.path.exists(configure_ac):
624+
print(f"{configure_ac} does not exist. "
625+
f"Using sh autogen.sh to generate.")
626+
subprocess.check_call(
627+
["sh", "./autogen.sh"], env=env, cwd=src_path)
620628
env["CFLAGS"] = env.get("CFLAGS", "") + " -fPIC"
621629
configure = [
622630
"./configure", "--with-zlib=no", "--with-bzip2=no",

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.