diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2018-08-21 13:44:55 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-08-21 14:49:42 +0100 |
commit | a64630aecf4f42adfb4ee8cbb3813a236d20a563 (patch) | |
tree | 6f97e37b1630679efa809a90fc676dbd05a5962c /meta/recipes-devtools/python/python_2.7.15.bb | |
parent | 7db9a28d2056a54157e77c412a91ad1cc96939c3 (diff) | |
download | poky-a64630aecf4f42adfb4ee8cbb3813a236d20a563.tar.gz |
python/python3: add virtual/crypt to DEPENDS
Since `6146b8c glibc: Disable crypt support in glibc' in oe-core,
python2/3 could not find symbol crypt which caused import crypt failed.
[snip]
>>> import crypt
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib64/python3.5/crypt.py", line 3, in <module>
import _crypt
ImportError: /usr/lib64/python3.5/lib-dynload/_crypt.cpython-35m-x86_64-linux-gnu.so: undefined symbol: crypt
[snip]
Add virtual/crypt to DEPENDS, and python's build system (setup.py)
will search libcrypt.so in recipe-sysroot and add `-lcrypt' if it
exists.
(From OE-Core rev: d2a929d932900f753af1a06a8cb98d953369e3b4)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python_2.7.15.bb')
-rw-r--r-- | meta/recipes-devtools/python/python_2.7.15.bb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-devtools/python/python_2.7.15.bb b/meta/recipes-devtools/python/python_2.7.15.bb index 3044c3d363..43d9ff5152 100644 --- a/meta/recipes-devtools/python/python_2.7.15.bb +++ b/meta/recipes-devtools/python/python_2.7.15.bb | |||
@@ -1,6 +1,7 @@ | |||
1 | require python.inc | 1 | require python.inc |
2 | 2 | ||
3 | DEPENDS = "python-native libffi bzip2 gdbm openssl readline sqlite3 zlib" | 3 | DEPENDS = "python-native libffi bzip2 gdbm openssl \ |
4 | readline sqlite3 zlib virtual/crypt" | ||
4 | 5 | ||
5 | PR = "${INC_PR}" | 6 | PR = "${INC_PR}" |
6 | 7 | ||