Skip to content

Commit cb593cc

Browse files
committed
Do not pass CXX and clarify patch message
SQLite's configure errors if $CXX executable can't be found even though it isn't used!
1 parent e3a2593 commit cb593cc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ def run(self):
334334
if sys.platform != "win32":
335335
write(" Running configure to work out SQLite compilation flags")
336336
env = os.environ.copy()
337-
for v in "CC", "CFLAGS", "LDFLAGS", "CXX":
337+
for v in "CC", "CFLAGS", "LDFLAGS":
338338
val = sysconfig.get_config_var(v)
339339
if val:
340340
env[v] = val
@@ -858,7 +858,7 @@ def apply_patch(patch_lines, source_lines):
858858
patch_file_name = pathlib.Path(__file__).parent / "tools" / "carray.patch"
859859

860860
if get_amalgamation_version(source_file_name) >= 3052000:
861-
print("No patches needed for this version")
861+
print("No patches needed for this SQLite version")
862862
return True
863863

864864
try:

0 commit comments

Comments
 (0)