diff options
Diffstat (limited to 'meta/recipes-devtools/python/python3/sysconfig.py-add-_PYTHON_PROJECT_SRC.patch')
-rw-r--r-- | meta/recipes-devtools/python/python3/sysconfig.py-add-_PYTHON_PROJECT_SRC.patch | 25 |
1 files changed, 11 insertions, 14 deletions
diff --git a/meta/recipes-devtools/python/python3/sysconfig.py-add-_PYTHON_PROJECT_SRC.patch b/meta/recipes-devtools/python/python3/sysconfig.py-add-_PYTHON_PROJECT_SRC.patch index de07643f2b..c89d9a3d83 100644 --- a/meta/recipes-devtools/python/python3/sysconfig.py-add-_PYTHON_PROJECT_SRC.patch +++ b/meta/recipes-devtools/python/python3/sysconfig.py-add-_PYTHON_PROJECT_SRC.patch | |||
@@ -17,12 +17,12 @@ Signed-off-by: Robert Yang <liezhi.yang@windriver.com> | |||
17 | Lib/sysconfig.py | 5 ++++- | 17 | Lib/sysconfig.py | 5 ++++- |
18 | 2 files changed, 8 insertions(+), 2 deletions(-) | 18 | 2 files changed, 8 insertions(+), 2 deletions(-) |
19 | 19 | ||
20 | diff --git a/Lib/distutils/sysconfig.py b/Lib/distutils/sysconfig.py | 20 | Index: Python-3.5.3/Lib/distutils/sysconfig.py |
21 | index a545ab9..74317d1 100644 | 21 | =================================================================== |
22 | --- a/Lib/distutils/sysconfig.py | 22 | --- Python-3.5.3.orig/Lib/distutils/sysconfig.py |
23 | +++ b/Lib/distutils/sysconfig.py | 23 | +++ Python-3.5.3/Lib/distutils/sysconfig.py |
24 | @@ -554,7 +554,10 @@ def get_config_vars(*args): | 24 | @@ -498,7 +498,10 @@ def get_config_vars(*args): |
25 | _config_vars['exec_prefix'] = EXEC_PREFIX | 25 | _config_vars['SO'] = SO |
26 | 26 | ||
27 | # Always convert srcdir to an absolute path | 27 | # Always convert srcdir to an absolute path |
28 | - srcdir = _config_vars.get('srcdir', project_base) | 28 | - srcdir = _config_vars.get('srcdir', project_base) |
@@ -33,11 +33,11 @@ index a545ab9..74317d1 100644 | |||
33 | if os.name == 'posix': | 33 | if os.name == 'posix': |
34 | if python_build: | 34 | if python_build: |
35 | # If srcdir is a relative path (typically '.' or '..') | 35 | # If srcdir is a relative path (typically '.' or '..') |
36 | diff --git a/Lib/sysconfig.py b/Lib/sysconfig.py | 36 | Index: Python-3.5.3/Lib/sysconfig.py |
37 | index 7287f11..cc92998 100644 | 37 | =================================================================== |
38 | --- a/Lib/sysconfig.py | 38 | --- Python-3.5.3.orig/Lib/sysconfig.py |
39 | +++ b/Lib/sysconfig.py | 39 | +++ Python-3.5.3/Lib/sysconfig.py |
40 | @@ -562,7 +562,10 @@ def get_config_vars(*args): | 40 | @@ -544,7 +544,10 @@ def get_config_vars(*args): |
41 | _CONFIG_VARS['userbase'] = _getuserbase() | 41 | _CONFIG_VARS['userbase'] = _getuserbase() |
42 | 42 | ||
43 | # Always convert srcdir to an absolute path | 43 | # Always convert srcdir to an absolute path |
@@ -49,6 +49,3 @@ index 7287f11..cc92998 100644 | |||
49 | if os.name == 'posix': | 49 | if os.name == 'posix': |
50 | if _PYTHON_BUILD: | 50 | if _PYTHON_BUILD: |
51 | # If srcdir is a relative path (typically '.' or '..') | 51 | # If srcdir is a relative path (typically '.' or '..') |
52 | -- | ||
53 | 1.7.9.5 | ||
54 | |||