diff options
author | Yi Zhao <yi.zhao@windriver.com> | 2021-11-25 10:44:45 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2021-11-25 10:14:18 -0800 |
commit | 301e8045d2472fb93040c0dc0a44e534a08b182e (patch) | |
tree | e52543d1a4cdc1ab533d64124b00a7fbee1d6c96 /meta-initramfs/recipes-core | |
parent | 13187d3f014c50b011c3704a484c7e00e9c31de9 (diff) | |
download | meta-openembedded-301e8045d2472fb93040c0dc0a44e534a08b182e.tar.gz |
libtdb: fix pyext_PATTERN for cross compilation
The pyext_PATTERN will add native arch as suffix when cross compiling.
For example, on qemuarm64, it is expanded to:
pyext_PATTERN ='%s.cpython-310-x86_64-linux-gnu.so'
which will result in the incorrect library name.
root@qemuarm64:~# find /usr/lib/python3.10/ -name tdb\*
/usr/lib/python3.10/site-packages/tdb.so
/usr/lib/python3.10/site-packages/tdb.cpython-310-x86_64-linux-gnu.so
Set pyext_PATTERN to '%s.so' to remove the suffix.
After the patch:
root@qemuarm64:~# find /usr/lib/python3.10/ -name tdb\*
/usr/lib/python3.10/site-packages/tdb.so
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-initramfs/recipes-core')
0 files changed, 0 insertions, 0 deletions