libgl1-mesa-dri-experimental is definitely a plugins package.
But libgl1-mesa-glx is not: it ships usr/lib/mesa/libGL.so.1.2 and usr/lib/mesa/libGL.so.1, and a ld.so.conf snippet (which I guess adds usr/lib/mesa to the search path).
libegl1-mesa-drivers-kms and libegl1-mesa-drivers-x11 are definitely of the plugin variety too.
So we need a way to dpkg-cross some GL lib into the cross-dir (usr/$triplet/lib) or we wont be able to link to -lGL.
libgl1- mesa-dri- experimental is definitely a plugins package.
But libgl1-mesa-glx is not: it ships usr/lib/ mesa/libGL. so.1.2 and usr/lib/ mesa/libGL. so.1, and a ld.so.conf snippet (which I guess adds usr/lib/mesa to the search path).
libegl1- mesa-drivers- kms and libegl1- mesa-drivers- x11 are definitely of the plugin variety too.
So we need a way to dpkg-cross some GL lib into the cross-dir (usr/$triplet/lib) or we wont be able to link to -lGL.