File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -304,6 +304,8 @@ Tests
304304Build
305305-----
306306
307+ - Issue #15560: Fix building _sqlite3 extension on OS X with an SDK.
308+
307309- Issue #8847: Disable COMDAT folding in Windows PGO builds.
308310
309311- Issue #14018: Fix OS X Tcl/Tk framework checking when using OS X SDKs.
Original file line number Diff line number Diff line change @@ -1041,12 +1041,12 @@ class db_found(Exception): pass
10411041 if host_platform == 'darwin' :
10421042 sysroot = macosx_sdk_root ()
10431043
1044- for d in inc_dirs + sqlite_inc_paths :
1045- f = os .path .join (d , "sqlite3.h" )
1046-
1044+ for d_ in inc_dirs + sqlite_inc_paths :
1045+ d = d_
10471046 if host_platform == 'darwin' and is_macosx_sdk_path (d ):
1048- f = os .path .join (sysroot , d [1 :], "sqlite3.h" )
1047+ d = os .path .join (sysroot , d [1 :])
10491048
1049+ f = os .path .join (d , "sqlite3.h" )
10501050 if os .path .exists (f ):
10511051 if sqlite_setup_debug : print ("sqlite: found %s" % f )
10521052 with open (f ) as file :
You can’t perform that action at this time.
0 commit comments