Building Modular X

Donnie Berkholz spyderous at gentoo.org
Sun May 14 17:02:34 PDT 2006


Jaspreet Sachdev wrote:
> Hi,
> I am cross compiling X 7.0 and hitting a problem a with libtool in the
> lib packages. I am installing all the compiled components in a
> non-system directory (for eg /opt/root). I would like the build process
> to link in libraries from my /opt/root directory and not the system
> dirs. Currently, when build libXext.la it needs X11 and Xau libraries.
> These libs are passed into libtool command as "-l" parameters. The
> output shows that it finds X11 in the right directory "/opt/root" but
> Xau it is searching in the system /usr/lib directory.  Has anyone
> encountered this problem?  I have tried  setting LDFLAGS to have "-L"
> and -wl,--rpath-link but none help in finding the right Xau.

See http://xorg.freedesktop.org/wiki/CrossCompilingXorg

Here's one idea:
export PKG_CONFIG_PATH="/opt$PKG_CONFIG_PATH"

Thanks,
Donnie

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <http://lists.x.org/archives/xorg/attachments/20060514/578080cc/attachment.pgp>


More information about the xorg mailing list