diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2019-12-01 20:18:01 +0300 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2019-12-01 20:18:01 +0300 |
commit | 77d81aa4a3747b7dfbb17e43b16e1a514550c60c (patch) | |
tree | 0679778b3a5b46cb96d7c57485c847b83cc78bbf /debian/patches/distutils-sysconfig.diff | |
parent | c089c4500b0b78acf03ee5405ad250a84b0dfa66 (diff) | |
download | python3.8-debian.tar.gz |
Import python3.8 (3.8.0-5)debian/3.8.0-5debian
Diffstat (limited to 'debian/patches/distutils-sysconfig.diff')
-rw-r--r-- | debian/patches/distutils-sysconfig.diff | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/debian/patches/distutils-sysconfig.diff b/debian/patches/distutils-sysconfig.diff index 3a87f2f..23d70b8 100644 --- a/debian/patches/distutils-sysconfig.diff +++ b/debian/patches/distutils-sysconfig.diff @@ -4,7 +4,7 @@ --- a/Lib/distutils/sysconfig.py +++ b/Lib/distutils/sysconfig.py -@@ -195,9 +195,11 @@ def customize_compiler(compiler): +@@ -194,9 +194,11 @@ def customize_compiler(compiler): _osx_support.customize_compiler(_config_vars) _config_vars['CUSTOMIZED_OSX_COMPILER'] = 'True' @@ -18,7 +18,7 @@ if 'CC' in os.environ: newcc = os.environ['CC'] -@@ -218,13 +220,22 @@ def customize_compiler(compiler): +@@ -217,13 +219,22 @@ def customize_compiler(compiler): cpp = cc + " -E" # not always if 'LDFLAGS' in os.environ: ldshared = ldshared + ' ' + os.environ['LDFLAGS'] @@ -41,3 +41,12 @@ if 'AR' in os.environ: ar = os.environ['AR'] if 'ARFLAGS' in os.environ: +@@ -237,7 +248,7 @@ def customize_compiler(compiler): + compiler=cc_cmd, + compiler_so=cc_cmd + ' ' + ccshared, + compiler_cxx=cxx, +- linker_so=ldshared, ++ linker_so=ldshared + ' ' + ccshared, + linker_exe=cc, + archiver=archiver) + |