Building Modular X

Jaspreet Sachdev js at jisoftsolutions.com
Mon May 15 09:22:28 PDT 2006


Daniel Stone wrote:
> On Mon, May 15, 2006 at 12:41:46PM +0200, Rene Rebe wrote:
>   
>> On Monday 15 May 2006 10:35, Daniel Stone wrote:
>>     
>>> You'll need to use --prefix=/opt/root/usr, not --prefix=/usr and
>>> DESTDIR=/opt/root.  Either that, or delete /opt/root/usr/lib/*.la after
>>> every make install.
>>>       
>> Doesn't this result in the wront pathes hardcoded in the cross built
>> binaries? For example config files are looked up at /opt/root/etc not
>> /etc.
>>
>> E.g. I use a compiler wrapper to prefix the library pathes with the
>> sysroot in cross builds.
>>     
>
> In that case, you'll need to wrap libtool or something, or just delete
> all the .la files after every make install, which is just generally a
> good idea anyway.
>   
I am using prefix=/usr and DESTDIR=/opr/root because I don't want my 
binaries to have /opt/root dependancy.  I tried deleting the .la after 
every install. This does not help. It still looks at /usr/lib directory 
but I need it to look at the dir where I installed the libraries 
(/opt/root/usr/lib). 



More information about the xorg mailing list