The thread of cross-compile skalibs reminds me that I forget to
forward a trivial patch to fix cross-compile other packages.
Take execline for example,
package/deps.mak lists -lskarnet as a makefile dependency.
This is one of the few areas where make is architecture-dependent. It
will look up the library on the (build architecture) library search
path. (Copy from Helmut Grohne)
On a multi-arch system, libraries are installed at (for example)
/usr/lib/(HOST_GNU_TYPE)/. So multi arch libraries can coexist.
When -lskarnet is a makefile dependency, it will be expanded to
/usr/lib/(HOST_BUILD_TYPE)/libskarnet.so, not
/usr/lib/(HOST_HOST_TYPE)/libskarnet.so
This can be fixed by
https://bugs.debian.org/cgi-bin/bugreport.cgi?att=2;bug=917834;filename=cross.patch;msg=5
Helmut Grohne sends me via
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=917834
--
Shengjing Zhu
Received on Mon Sep 23 2019 - 08:28:37 UTC