mirror of
https://github.com/python/cpython.git
synced 2025-11-01 06:01:29 +00:00
- Issue #17219: Add library build dir for Python extension cross-builds.
This commit is contained in:
parent
d486c43d8d
commit
cef3bdc01d
2 changed files with 3 additions and 1 deletions
|
|
@ -237,7 +237,7 @@ def finalize_options(self):
|
||||||
# Python's library directory must be appended to library_dirs
|
# Python's library directory must be appended to library_dirs
|
||||||
# See Issues: #1600860, #4366
|
# See Issues: #1600860, #4366
|
||||||
if (sysconfig.get_config_var('Py_ENABLE_SHARED')):
|
if (sysconfig.get_config_var('Py_ENABLE_SHARED')):
|
||||||
if sys.executable.startswith(os.path.join(sys.exec_prefix, "bin")):
|
if not sysconfig.python_build:
|
||||||
# building third party extensions
|
# building third party extensions
|
||||||
self.library_dirs.append(sysconfig.get_config_var('LIBDIR'))
|
self.library_dirs.append(sysconfig.get_config_var('LIBDIR'))
|
||||||
else:
|
else:
|
||||||
|
|
|
||||||
|
|
@ -40,6 +40,8 @@ Build
|
||||||
|
|
||||||
- Issue #18096: Fix library order returned by python-config.
|
- Issue #18096: Fix library order returned by python-config.
|
||||||
|
|
||||||
|
- Issue #17219: Add library build dir for Python extension cross-builds.
|
||||||
|
|
||||||
|
|
||||||
What's New in Python 3.4.2?
|
What's New in Python 3.4.2?
|
||||||
===========================
|
===========================
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue