Skip to content

Commit 2f91a56

Browse files
committed
a comment and stop shell doing utf8 hack on windows
1 parent 17af877 commit 2f91a56

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

tools/vend.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,9 @@ def __post_init__(self):
299299
description="Command line shell",
300300
doc="cli.html",
301301
lib_sqlite=True,
302+
# work around sqlite's mistaken handling of utf8 on windows. it should be
303+
# using manifest but instead only has a hacky main thing going on
304+
defines = [("main", "main")]
302305
),
303306
Extra(
304307
name="sqlite3_showdb",
@@ -504,6 +507,7 @@ class CompilerImplementation:
504507
def do_build(what: set[str], verbose: bool, fail_fast: bool = False):
505508
get_version()
506509
compiler = ccompiler.new_compiler(verbose=True)
510+
# this configures compiler to have the same flags as python was built with
507511
customize_compiler(compiler)
508512

509513
compile_extra_preargs = None

0 commit comments

Comments
 (0)