Open
Description
Some of the libtool files in /opt/${target}/${target}/lib*
contain wrong paths. For example, for x86_64-linux-gnu
, /opt/x86_64-linux-gnu/x86_64-linux-gnu/lib64/libquadmath.la
has the following libdir
:
# Directory that this library needs to be installed in:
libdir='/workspace/destdir/x86_64-linux-gnu/lib/../lib64'
I assume this is the correct path when the file is generated and installed in ${prefix}
, but then in the RootFS this is placed in /opt/${target}
instead of /workspace/destdir
.
Since these files often cause troubles during build, we should either remove or fix them