libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: dependency_libs?


From: Andreas Volz
Subject: Re: dependency_libs?
Date: Wed, 3 May 2006 10:16:44 +0200

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]