[Mesa-dev] [PATCH v2] meson: Don't confuse the install and search paths for dri drivers

Michel Dänzer michel at daenzer.net
Wed Jan 24 15:24:35 UTC 2018


On 2018-01-24 02:54 PM, Ilia Mirkin wrote:
> 
> Here's the usecase:
> 
> I want to crosscompile. At install time, the results have to go into a
> chroot. The machine that runs out of the chroot would like things to
> work. I don't think setting environment cars, esp ones as unadvisable as
> libgl driver's path is an acceptable solution. Perhaps there's some
> destdir thing I should be using, never looked into it.

Indeed, it sounds like you should. Example with autotools:

Directory containing the DRI drivers, as seen outside of the chroot:
/path/to/chroot/usr/lib/dri

./configure --prefix=/usr [...]

make install DESTDIR=/path/to/chroot [...]


AFAICT this should translate pretty much 1:1 to meson.


-- 
Earthling Michel Dänzer               |               http://www.amd.com
Libre software enthusiast             |             Mesa and X developer


More information about the mesa-dev mailing list