diff options
Diffstat (limited to 'meta/recipes-devtools/python/python3/12-distutils-prefix-is-inside-staging-area.patch')
-rw-r--r-- | meta/recipes-devtools/python/python3/12-distutils-prefix-is-inside-staging-area.patch | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/meta/recipes-devtools/python/python3/12-distutils-prefix-is-inside-staging-area.patch b/meta/recipes-devtools/python/python3/12-distutils-prefix-is-inside-staging-area.patch index 5a39cf8933..cc64e3ecf7 100644 --- a/meta/recipes-devtools/python/python3/12-distutils-prefix-is-inside-staging-area.patch +++ b/meta/recipes-devtools/python/python3/12-distutils-prefix-is-inside-staging-area.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From c52fa7948ef109db1132fdc1aee0b68f8d767b4e Mon Sep 17 00:00:00 2001 | 1 | From f6411021856bafedd784748ec33494151e783b51 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Tue, 14 May 2013 15:00:26 -0700 | 3 | Date: Tue, 14 May 2013 15:00:26 -0700 |
4 | Subject: [PATCH 1/2] python3: Add target and native recipes | 4 | Subject: [PATCH] python3: Add target and native recipes |
5 | 5 | ||
6 | Upstream-Status: Inappropriate [embedded specific] | 6 | Upstream-Status: Inappropriate [embedded specific] |
7 | 7 | ||
@@ -17,10 +17,10 @@ Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com> | |||
17 | 1 file changed, 11 insertions(+), 3 deletions(-) | 17 | 1 file changed, 11 insertions(+), 3 deletions(-) |
18 | 18 | ||
19 | diff --git a/Lib/distutils/sysconfig.py b/Lib/distutils/sysconfig.py | 19 | diff --git a/Lib/distutils/sysconfig.py b/Lib/distutils/sysconfig.py |
20 | index 4774e12..ccf7d58 100644 | 20 | index 3414a76..361d3a1 100644 |
21 | --- a/Lib/distutils/sysconfig.py | 21 | --- a/Lib/distutils/sysconfig.py |
22 | +++ b/Lib/distutils/sysconfig.py | 22 | +++ b/Lib/distutils/sysconfig.py |
23 | @@ -95,7 +95,9 @@ def get_python_inc(plat_specific=0, prefix=None): | 23 | @@ -277,7 +277,9 @@ def get_python_inc(plat_specific=0, prefix=None): |
24 | If 'prefix' is supplied, use it instead of sys.base_prefix or | 24 | If 'prefix' is supplied, use it instead of sys.base_prefix or |
25 | sys.base_exec_prefix -- i.e., ignore 'plat_specific'. | 25 | sys.base_exec_prefix -- i.e., ignore 'plat_specific'. |
26 | """ | 26 | """ |
@@ -31,7 +31,7 @@ index 4774e12..ccf7d58 100644 | |||
31 | prefix = plat_specific and BASE_EXEC_PREFIX or BASE_PREFIX | 31 | prefix = plat_specific and BASE_EXEC_PREFIX or BASE_PREFIX |
32 | if os.name == "posix": | 32 | if os.name == "posix": |
33 | if python_build: | 33 | if python_build: |
34 | @@ -138,7 +140,13 @@ def get_python_lib(plat_specific=0, standard_lib=0, prefix=None): | 34 | @@ -320,7 +322,13 @@ def get_python_lib(plat_specific=0, standard_lib=0, prefix=None): |
35 | If 'prefix' is supplied, use it instead of sys.base_prefix or | 35 | If 'prefix' is supplied, use it instead of sys.base_prefix or |
36 | sys.base_exec_prefix -- i.e., ignore 'plat_specific'. | 36 | sys.base_exec_prefix -- i.e., ignore 'plat_specific'. |
37 | """ | 37 | """ |
@@ -46,7 +46,7 @@ index 4774e12..ccf7d58 100644 | |||
46 | if standard_lib: | 46 | if standard_lib: |
47 | prefix = plat_specific and BASE_EXEC_PREFIX or BASE_PREFIX | 47 | prefix = plat_specific and BASE_EXEC_PREFIX or BASE_PREFIX |
48 | else: | 48 | else: |
49 | @@ -152,7 +160,7 @@ def get_python_lib(plat_specific=0, standard_lib=0, prefix=None): | 49 | @@ -334,7 +342,7 @@ def get_python_lib(plat_specific=0, standard_lib=0, prefix=None): |
50 | else: | 50 | else: |
51 | # Pure Python | 51 | # Pure Python |
52 | libdir = "lib" | 52 | libdir = "lib" |
@@ -56,5 +56,5 @@ index 4774e12..ccf7d58 100644 | |||
56 | if standard_lib: | 56 | if standard_lib: |
57 | return libpython | 57 | return libpython |
58 | -- | 58 | -- |
59 | 2.24.0 | 59 | 2.20.1 |
60 | 60 | ||