BinaryBuilder.jl
BinaryBuilder.jl copied to clipboard
Wrong libtool files in `/opt/${target}/${target}/lib*`
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
IMO we should just try always removing all .la
files. I'd rather not rely on libtool files.
Since this BBB PR we are in fact removing all *.la files in any newly built JLL, but old existing JLLs will still have them.