<html><head></head><body>The only difference is DESTDIR is an environment variable in meson<br>
<br>
DESTDIR=/path/to/chroot/ ninja install<br><br><div class="gmail_quote">On January 24, 2018 7:24:35 AM PST, "Michel Dänzer" <michel@daenzer.net> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail">On 2018-01-24 02:54 PM, Ilia Mirkin wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"> <br> Here's the usecase:<br> <br> I want to crosscompile. At install time, the results have to go into a<br> chroot. The machine that runs out of the chroot would like things to<br> work. I don't think setting environment cars, esp ones as unadvisable as<br> libgl driver's path is an acceptable solution. Perhaps there's some<br> destdir thing I should be using, never looked into it.<br></blockquote><br>Indeed, it sounds like you should. Example with autotools:<br><br>Directory containing the DRI drivers, as seen outside of the chroot:<br>/path/to/chroot/usr/lib/dri<br><br>./configure --prefix=/usr [...]<br><br>make install DESTDIR=/path/to/chroot [...]<br><br><br>AFAICT this should translate pretty much 1:1 to meson.<br><br></pre></blockquote></div></body></html>