Skip to content

Commit c4e081d

Browse files
committed
Fix configuration of tcl build
1 parent 4670133 commit c4e081d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cpython-unix/build.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,9 @@ def simple_build(
270270
]["version"],
271271
}
272272

273+
if "static" in build_options:
274+
env["STATIC"] = 1
275+
273276
add_target_env(env, host_platform, target_triple, build_env)
274277

275278
if entry in ("openssl-1.1", "openssl-3.0"):
@@ -420,9 +423,6 @@ def build_tix(
420423
"TK_VERSION": DOWNLOADS["tk"]["version"],
421424
}
422425

423-
if "static" in build_options:
424-
env["STATIC"] = 1
425-
426426
add_target_env(env, host_platform, target_triple, build_env)
427427

428428
build_env.run("build-tix.sh", environment=env)

0 commit comments

Comments
 (0)