diff options
Diffstat (limited to 'meta/recipes-devtools/python/python3/python-config.patch')
-rw-r--r-- | meta/recipes-devtools/python/python3/python-config.patch | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/meta/recipes-devtools/python/python3/python-config.patch b/meta/recipes-devtools/python/python3/python-config.patch index f23b8b7df0..c8a8f3d4aa 100644 --- a/meta/recipes-devtools/python/python3/python-config.patch +++ b/meta/recipes-devtools/python/python3/python-config.patch | |||
@@ -1,4 +1,7 @@ | |||
1 | python-config: Revert to using distutils.sysconfig | 1 | From 07df0ae0d70cba6d1847fe1c24a71063930bec60 Mon Sep 17 00:00:00 2001 |
2 | From: Tyler Hall <tylerwhall@gmail.com> | ||
3 | Date: Sun, 4 May 2014 20:06:43 -0400 | ||
4 | Subject: [PATCH] python-config: Revert to using distutils.sysconfig | ||
2 | 5 | ||
3 | The newer sysconfig module shares some code with distutils.sysconfig, but the same modifications as in | 6 | The newer sysconfig module shares some code with distutils.sysconfig, but the same modifications as in |
4 | 7 | ||
@@ -12,11 +15,16 @@ Upstream-Status: Inappropriate [Embedded Specific] | |||
12 | 15 | ||
13 | Signed-off-by: Tyler Hall <tylerwhall@gmail.com> | 16 | Signed-off-by: Tyler Hall <tylerwhall@gmail.com> |
14 | : | 17 | : |
15 | Index: Python-3.3.3/Misc/python-config.in | 18 | |
16 | =================================================================== | 19 | --- |
17 | --- Python-3.3.3.orig/Misc/python-config.in | 20 | Misc/python-config.in | 10 +++++----- |
18 | +++ Python-3.3.3/Misc/python-config.in | 21 | 1 file changed, 5 insertions(+), 5 deletions(-) |
19 | @@ -4,7 +4,7 @@ | 22 | |
23 | diff --git a/Misc/python-config.in b/Misc/python-config.in | ||
24 | index 727c4a8..c702829 100644 | ||
25 | --- a/Misc/python-config.in | ||
26 | +++ b/Misc/python-config.in | ||
27 | @@ -6,7 +6,7 @@ | ||
20 | import getopt | 28 | import getopt |
21 | import os | 29 | import os |
22 | import sys | 30 | import sys |
@@ -24,8 +32,8 @@ Index: Python-3.3.3/Misc/python-config.in | |||
24 | +from distutils import sysconfig | 32 | +from distutils import sysconfig |
25 | 33 | ||
26 | valid_opts = ['prefix', 'exec-prefix', 'includes', 'libs', 'cflags', | 34 | valid_opts = ['prefix', 'exec-prefix', 'includes', 'libs', 'cflags', |
27 | 'ldflags', 'extension-suffix', 'help', 'abiflags', 'configdir'] | 35 | 'ldflags', 'extension-suffix', 'help', 'abiflags', 'configdir', |
28 | @@ -32,14 +32,14 @@ if '--help' in opt_flags: | 36 | @@ -35,14 +35,14 @@ if '--help' in opt_flags: |
29 | 37 | ||
30 | for opt in opt_flags: | 38 | for opt in opt_flags: |
31 | if opt == '--prefix': | 39 | if opt == '--prefix': |