diff options
author | Khem Raj <raj.khem@gmail.com> | 2022-05-02 10:42:19 -0700 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2022-05-17 05:57:10 -0700 |
commit | 947ff549c93c745bedcfbdbfd6ee1a84fbe72cbf (patch) | |
tree | a58580dcc539f7120f7f06520e8fc1c9ad6b311c /meta-python | |
parent | 9f4bdefa4153c9a07306c9729418dad7603a1eb7 (diff) | |
download | meta-openembedded-contrib-947ff549c93c745bedcfbdbfd6ee1a84fbe72cbf.tar.gz |
evolution-data-server: Do not pass --library-path to gir compiler
This is using LIB_INSTALL_DIR which is pointing to target libdir e.g.
/usr/lib which is essentially a path inside sysroot but when passing it
via --library-path, it ends up adding this to linker commandline via
LD_LIBRARY_PATH and -rpath options which is flagged by gcc correctly as
arm-yoe-linux-gnueabi/12.0.1/ld: warning: library search path "/usr/lib" is unsafe for cross-compilation
| /usr/lib/libgio-2.0.so: file not recognized: file format not recognized
| collect2: error: ld returned 1 exit status
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Andreas Müller <schnitzeltony@gmail.com>
(cherry picked from commit 578b9996891e0990b507efd635667339cbd101dd)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-python')
0 files changed, 0 insertions, 0 deletions