[Mesa-dev] [PATCH v2] meson: Don't confuse the install and search paths for dri drivers
Dylan Baker
dylan at pnwbakers.com
Wed Jan 24 16:07:42 UTC 2018
The only difference is DESTDIR is an environment variable in meson
DESTDIR=/path/to/chroot/ ninja install
On January 24, 2018 7:24:35 AM PST, "Michel Dänzer" <michel at daenzer.net> wrote:
>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
>_______________________________________________
>mesa-dev mailing list
>mesa-dev at lists.freedesktop.org
>https://lists.freedesktop.org/mailman/listinfo/mesa-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180124/c0220ac9/attachment.html>
More information about the mesa-dev
mailing list