libtool
[Top][All Lists]
Advanced

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

Re: libtool wrapper env variable


From: Ralf Wildenhues
Subject: Re: libtool wrapper env variable
Date: Thu, 14 Aug 2008 20:56:20 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

Hi Dan,

* Dan McMahill wrote on Wed, Aug 13, 2008 at 11:06:31PM CEST:
>
> There is an environment variable which can be set that will tell myprog  
> to look somewhere else for this file.  Is there anyway to cause the  
> libtool wrapper script, src/myprog, to set this variable automatically?  

There has been a proposed patch for this sort of feature, for quite a
long time, <http://thread.gmane.org/gmane.comp.gnu.libtool.bugs/5319>.
Unfortunately it has not received unanimous love, so we have not applied
it yet.  (Maybe we should vote?)

> If not, any suggestions on the best way to deal with programs which  
> might use the directory of argv[0] when testing with the libtool  
> generated wrapper script?

You could strip a leading [._]libs/ from argv[0], similar to what the
gnulib module progname does.  Or add a wrapper.  Nothing new here.  ;-)

Cheers,
Ralf




reply via email to

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