bug-libtool
[Top][All Lists]
Advanced

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

Re: Feature request: setting env vars for binary wrappers


From: Roumen Petrov
Subject: Re: Feature request: setting env vars for binary wrappers
Date: Fri, 18 Apr 2008 21:32:23 +0300
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.13) Gecko/20080329 SeaMonkey/1.1.9

Behdad Esfahbod wrote:
On Fri, 2008-04-18 at 02:32 +0300, Roumen Petrov wrote:
Behdad Esfahbod wrote:
[SNIP]
But if user run directly an application installed in non-default location the user is responsible to set environment.
I'm not talking about application installed in non-default location.
I'm talking about uninstalled application.
There is no significant difference !

I thought there is.  The former is not supported, while I'm under the
impression that the latter is.

If its a regression/unit test the correct application environment has
to be set in Makefile{|.in|.am} and the program/library will inherit it.
No, it's not a test suite.  It's a real, legitimate application the user
has built.  Now he wants to run it before doing "make install".
And if application don't read environment, next request is libtool wrapper script to pass arguments to application command line.

The argument passing is part of the patch too.  But one or the other is
enough, because the application developer can use whatever is available
to them.  Currently, there is no way to fix this problem with autotools.
With the proposed changes, there will be.  That's all.


About "no way to fix this problem with autotools". Why ?
As example libxml can run binaries from build dir. In one of the tests is created specific xml catalog and application is run with this catalog instead with system.



The whole idea is libtool overkill.

Fair enough.  Just suggest an alternative please, instead of acting as
if the problem does not exist.

Roumen





reply via email to

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