10000 Merge pull request #21721 from meeseeksmachine/auto-backport-of-pr-21… · matplotlib/matplotlib@d09703b · GitHub
[go: up one dir, main page]

Skip to content

Commit d09703b

Browse files
authored
Merge pull request #21721 from meeseeksmachine/auto-backport-of-pr-21720-on-v3.5.x
Backport PR #21720 on branch v3.5.x (Fix compiler configuration priority for FreeType build)
2 parents 6655074 + abcd750 commit d09703b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setupext.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -610,13 +610,13 @@ def do_custom_build(self, env):
610610
print(f"Building freetype in {src_path}")
611611
if sys.platform != 'win32': # compilation on non-windows
612612
env = {
613-
**env,
614613
**{
615614
var: value
616615
for var, value in sysconfig.get_config_vars().items()
617616
if var in {"CC", "CFLAGS", "CXX", "CXXFLAGS", "LD",
618617
"LDFLAGS"}
619618
},
619+
**env,
620620
}
621621
env["CFLAGS"] = env.get("CFLAGS", "") + " -fPIC"
622622
configure = [

0 commit comments

Comments
 (0)
0