Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d486c43 commit cef3bdcCopy full SHA for cef3bdc
2 files changed
Lib/distutils/command/build_ext.py
@@ -237,7 +237,7 @@ def finalize_options(self):
237
# Python's library directory must be appended to library_dirs
238
# See Issues: #1600860, #4366
239
if (sysconfig.get_config_var('Py_ENABLE_SHARED')):
240
- if sys.executable.startswith(os.path.join(sys.exec_prefix, "bin")):
+ if not sysconfig.python_build:
241
# building third party extensions
242
self.library_dirs.append(sysconfig.get_config_var('LIBDIR'))
243
else:
Misc/NEWS
@@ -40,6 +40,8 @@ Build
40
41
- Issue #18096: Fix library order returned by python-config.
42
43
+- Issue #17219: Add library build dir for Python extension cross-builds.
44
+
45
46
What's New in Python 3.4.2?
47
===========================
0 commit comments