I remark that when I cross compile mesa (linux -> windows), I do not have the "gl.pc" file useful for pkg-config.
It is probably because I am using "scons" to build mesa for windows whereas I am using "autotools" to build mesa for linux.
The building process is not the same in both case.
Is there a way to generate the "gl.pc" file when I use scons to build mesa or I need to create it manually?
Unfortunately scons does not produce any .pc files, not just gl.pc. It is fixable, but I don't have any plans on tackling it. Patches welcome though :)