Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 76f1516

Browse files
committed
Use same host triplet for internal FreeType as Python
This should fix 32-bit compiles on a 64-bit system, as in #18113, but I could never get a working 32-bit Python to test.
1 parent 203c5de commit 76f1516

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

setupext.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,8 @@ def do_custom_build(self, env):
618618
subprocess.check_call(
619619
["./configure", "--with-zlib=no", "--with-bzip2=no",
620620
"--with-png=no", "--with-harfbuzz=no", "--enable-static",
621-
"--disable-shared"],
621+
"--disable-shared",
622+
"--host=" + sysconfig.get_config_var('BUILD_GNU_TYPE')],
622623
env=env, cwd=src_path)
623624
if 'GNUMAKE' in env:
624625
make = env['GNUMAKE']

0 commit comments

Comments
 (0)