<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">

<div style="font-family:arial,helvetica,sans-serif;font-size:small;color:rgb(0,0,153)">I ran the command, but got no results, RPATH doesn't exist in the Lua binary.</div></div></div></div></blockquote><div><br></div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;color:rgb(0,0,153)">
OK, so I've done a bit more digging and saw that buildroot adds -rpath as a part of the HOST_LDFLAGS, but the problem was that this variable wasn't passed to Lua's make file.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;color:rgb(0,0,153)">

So, I'm submitting now two patches. The first is for adding these flags to the host compilation of Lua and the second the for adding Luaposix, without the LD_LIBRARY_PATH hack.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;color:rgb(0,0,153)">

<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;color:rgb(0,0,153)">Thanks for pointing me in the right direction.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;color:rgb(0,0,153)">

<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;color:rgb(0,0,153)">Good day,</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;color:rgb(0,0,153)">

Assaf</div></div></div></div>