Commit 6ada0123 authored by doko@ubuntu.com's avatar doko@ubuntu.com

- Issue #26884: Fix linking extension modules for cross builds.

  Patch by Xavier de Gaye.
parent a23234b1
...@@ -748,7 +748,7 @@ class build_ext(Command): ...@@ -748,7 +748,7 @@ class build_ext(Command):
if sysconfig.get_config_var('Py_ENABLE_SHARED'): if sysconfig.get_config_var('Py_ENABLE_SHARED'):
pythonlib = 'python{}.{}{}'.format( pythonlib = 'python{}.{}{}'.format(
sys.hexversion >> 24, (sys.hexversion >> 16) & 0xff, sys.hexversion >> 24, (sys.hexversion >> 16) & 0xff,
sys.abiflags) sysconfig.get_config_var('ABIFLAGS'))
return ext.libraries + [pythonlib] return ext.libraries + [pythonlib]
else: else:
return ext.libraries return ext.libraries
...@@ -561,6 +561,9 @@ Tests ...@@ -561,6 +561,9 @@ Tests
Build Build
----- -----
- Issue #26884: Fix linking extension modules for cross builds.
Patch by Xavier de Gaye.
- Issue #22359: Disable the rules for running _freeze_importlib and pgen when - Issue #22359: Disable the rules for running _freeze_importlib and pgen when
cross-compiling. The output of these programs is normally saved with the cross-compiling. The output of these programs is normally saved with the
source code anyway, and is still regenerated when doing a native build. source code anyway, and is still regenerated when doing a native build.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment