diff options
-rw-r--r-- | meta/recipes-devtools/python/python3/python-config.patch | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/recipes-devtools/python/python3/python-config.patch b/meta/recipes-devtools/python/python3/python-config.patch index d0ddbbc7fd..c53f646af3 100644 --- a/meta/recipes-devtools/python/python3/python-config.patch +++ b/meta/recipes-devtools/python/python3/python-config.patch | |||
@@ -14,7 +14,6 @@ as appropriate. | |||
14 | Upstream-Status: Inappropriate [Embedded Specific] | 14 | Upstream-Status: Inappropriate [Embedded Specific] |
15 | 15 | ||
16 | Signed-off-by: Tyler Hall <tylerwhall@gmail.com> | 16 | Signed-off-by: Tyler Hall <tylerwhall@gmail.com> |
17 | : | ||
18 | 17 | ||
19 | --- | 18 | --- |
20 | Misc/python-config.in | 10 +++++----- | 19 | Misc/python-config.in | 10 +++++----- |
@@ -24,11 +23,13 @@ diff --git a/Misc/python-config.in b/Misc/python-config.in | |||
24 | index ebd99da..13e57ae 100644 | 23 | index ebd99da..13e57ae 100644 |
25 | --- a/Misc/python-config.in | 24 | --- a/Misc/python-config.in |
26 | +++ b/Misc/python-config.in | 25 | +++ b/Misc/python-config.in |
27 | @@ -6,7 +6,7 @@ | 26 | @@ -6,7 +6,9 @@ |
28 | import getopt | 27 | import getopt |
29 | import os | 28 | import os |
30 | import sys | 29 | import sys |
31 | -import sysconfig | 30 | -import sysconfig |
31 | +import warnings | ||
32 | +warnings.filterwarnings("ignore", category=DeprecationWarning) | ||
32 | +from distutils import sysconfig | 33 | +from distutils import sysconfig |
33 | 34 | ||
34 | valid_opts = ['prefix', 'exec-prefix', 'includes', 'libs', 'cflags', | 35 | valid_opts = ['prefix', 'exec-prefix', 'includes', 'libs', 'cflags', |