Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
03e2180b
Commit
03e2180b
authored
Aug 05, 2012
by
Ned Deily
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #15560: Fix building _sqlite3 extension on OS X with an SDK.
parent
e768c398
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
Misc/NEWS
Misc/NEWS
+2
-0
setup.py
setup.py
+4
-4
No files found.
Misc/NEWS
View file @
03e2180b
...
...
@@ -440,6 +440,8 @@ Tests
Build
-----
- Issue #15560: Fix building _sqlite3 extension on OS X with an SDK.
- Issue #8847: Disable COMDAT folding in Windows PGO builds.
- Issue #14197: For OS X framework builds, ensure links to the shared
...
...
setup.py
View file @
03e2180b
...
...
@@ -981,12 +981,12 @@ class PyBuildExt(build_ext):
if sys.platform == 'darwin':
sysroot = macosx_sdk_root()
for d in inc_dirs + sqlite_inc_paths:
f = os.path.join(d, "
sqlite3
.
h
")
for d_ in inc_dirs + sqlite_inc_paths:
d = d_
if sys.platform == 'darwin' and is_macosx_sdk_path(d):
f = os.path.join(sysroot, d[1:], "
sqlite3
.
h
"
)
d = os.path.join(sysroot, d[1:]
)
f = os.path.join(d, "
sqlite3
.
h
")
if os.path.exists(f):
if sqlite_setup_debug: print("
sqlite
:
found
%
s
"%f)
with open(f) as file:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment