From 77d81aa4a3747b7dfbb17e43b16e1a514550c60c Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Sun, 1 Dec 2019 20:18:01 +0300 Subject: Import python3.8 (3.8.0-5) --- debian/patches/ext-no-libpython-link.diff | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'debian/patches/ext-no-libpython-link.diff') diff --git a/debian/patches/ext-no-libpython-link.diff b/debian/patches/ext-no-libpython-link.diff index 21407d7..db29d9c 100644 --- a/debian/patches/ext-no-libpython-link.diff +++ b/debian/patches/ext-no-libpython-link.diff @@ -11,12 +11,12 @@ if not sysconfig.python_build: # building third party extensions self.library_dirs.append(sysconfig.get_config_var('LIBDIR')) -@@ -724,7 +724,7 @@ class build_ext(Command): - return ext.libraries - else: - from distutils import sysconfig -- if sysconfig.get_config_var('Py_ENABLE_SHARED'): -+ if False and sysconfig.get_config_var('Py_ENABLE_SHARED'): - pythonlib = 'python{}.{}{}'.format( - sys.hexversion >> 24, (sys.hexversion >> 16) & 0xff, - sysconfig.get_config_var('ABIFLAGS')) +@@ -725,7 +725,7 @@ class build_ext(Command): + # shared libraries are resolved at link time. + from distutils.sysconfig import get_config_var + link_libpython = False +- if get_config_var('Py_ENABLE_SHARED'): ++ if False and get_config_var('Py_ENABLE_SHARED'): + # A native build on an Android device or on Cygwin + if hasattr(sys, 'getandroidapilevel'): + link_libpython = True -- cgit v1.2.3