Am Tue, 2 May 2006 13:22:54 +0200 schrieb Andreas Volz:

> Perhaps my cross compiler enviroment isn't sane. If I don't use
> --without-x my hosts X installation is found:
> 
> ...
> checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
> ...

Now I found a solution to really prevent linking against X:

[cross compiler environment set]
./configure --x-includes=/tmp --x-libraries=/tmp --without-x

The --without-x parameter isn't enough for libtool to assume no X is used. 
Without redirecting both path into a dead space the .la-file has everytime
the -X* libraries in it. And it couldn't get the -lX* from a transitive .la
because there's no .la in my cross compiler environment! I don't  understand
this. Is it a bug in libtool?

regards
Andreas


_______________________________________________
http://lists.gnu.org/mailman/listinfo/libtool

Reply via email to