diff options
Diffstat (limited to 'meta/recipes-devtools/python/python3/python-config.patch')
-rw-r--r-- | meta/recipes-devtools/python/python3/python-config.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/recipes-devtools/python/python3/python-config.patch b/meta/recipes-devtools/python/python3/python-config.patch index c8a8f3d4aa..d0ddbbc7fd 100644 --- a/meta/recipes-devtools/python/python3/python-config.patch +++ b/meta/recipes-devtools/python/python3/python-config.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 07df0ae0d70cba6d1847fe1c24a71063930bec60 Mon Sep 17 00:00:00 2001 | 1 | From 57d073c12e7bede29919117b0141df14015eb27f Mon Sep 17 00:00:00 2001 |
2 | From: Tyler Hall <tylerwhall@gmail.com> | 2 | From: Tyler Hall <tylerwhall@gmail.com> |
3 | Date: Sun, 4 May 2014 20:06:43 -0400 | 3 | Date: Sun, 4 May 2014 20:06:43 -0400 |
4 | Subject: [PATCH] python-config: Revert to using distutils.sysconfig | 4 | Subject: [PATCH] python-config: Revert to using distutils.sysconfig |
@@ -21,7 +21,7 @@ Signed-off-by: Tyler Hall <tylerwhall@gmail.com> | |||
21 | 1 file changed, 5 insertions(+), 5 deletions(-) | 21 | 1 file changed, 5 insertions(+), 5 deletions(-) |
22 | 22 | ||
23 | diff --git a/Misc/python-config.in b/Misc/python-config.in | 23 | diff --git a/Misc/python-config.in b/Misc/python-config.in |
24 | index 727c4a8..c702829 100644 | 24 | index ebd99da..13e57ae 100644 |
25 | --- a/Misc/python-config.in | 25 | --- a/Misc/python-config.in |
26 | +++ b/Misc/python-config.in | 26 | +++ b/Misc/python-config.in |
27 | @@ -6,7 +6,7 @@ | 27 | @@ -6,7 +6,7 @@ |
@@ -37,11 +37,11 @@ index 727c4a8..c702829 100644 | |||
37 | 37 | ||
38 | for opt in opt_flags: | 38 | for opt in opt_flags: |
39 | if opt == '--prefix': | 39 | if opt == '--prefix': |
40 | - print(sysconfig.get_config_var('prefix')) | 40 | - print(getvar('prefix')) |
41 | + print(sysconfig.PREFIX) | 41 | + print(sysconfig.PREFIX) |
42 | 42 | ||
43 | elif opt == '--exec-prefix': | 43 | elif opt == '--exec-prefix': |
44 | - print(sysconfig.get_config_var('exec_prefix')) | 44 | - print(getvar('exec_prefix')) |
45 | + print(sysconfig.EXEC_PREFIX) | 45 | + print(sysconfig.EXEC_PREFIX) |
46 | 46 | ||
47 | elif opt in ('--includes', '--cflags'): | 47 | elif opt in ('--includes', '--cflags'): |