Hello, For example: # ls -la /usr/armv4tl-softfloat-linux-gnueabi/usr/lib/libGL.so lrwxrwxrwx 1 root root 37 2009-03-06 23:14 /usr/armv4tl-softfloat-linux-gnueabi/usr/lib/libGL.so -> /usr/lib/opengl/xorg-x11/lib/libGL.so This fails packages that would like to be linked with libGL.so as it actually points to the host's version. The best solution is to use relative symbolic links, for example: /usr/armv4tl-softfloat-linux-gnueabi/usr/lib/libGL.so -> opengl/xorg-x11/lib/libGL.so This will enable cross compile X and other opengl depended packages. Thanks!
Reassigning to x11-drivers herd.
Created attachment 195113 [details, diff] Relative path fix for libGL* This patch creates a relative link to the libs iff PREFIX=DST_PREFIX which is the default. In case a user specifies something different, an absolute path is used instead. The handling of the header files is not touched (yet).
patch looks fine to me, but i only made a passing glance at it ...
1.0.7 added to the main tree with this applied :] I've tested all 3 implementations (nvidia,ati,xorg) everything worked fine.