Building Modular X

Daniel Stone daniel at fooishbar.org
Mon May 15 04:34:13 PDT 2006


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 191 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg/attachments/20060515/4b558a41/attachment.pgp>


More information about the xorg mailing list