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: Gary V. Vaughan
Subject: Re: Feature request: setting env vars for binary wrappers
Date: Wed, 14 Jun 2006 12:11:45 +0100
User-agent: Thunderbird 1.5.0.2 (X11/20060519)

Hallo Ralf,

Ralf Wildenhues wrote:
> [ this is: http://thread.gmane.org/gmane.comp.gnu.libtool.bugs/5319
> or http://lists.gnu.org/archive/html/bug-libtool/2006-03/msg00013.html ]

[[snip]]

> What do you think?  OK for HEAD right now, or do you think this is too
> intrusive now?

I have no problem with the principle, but as the patch stands there are
idiosyncracies that need ironing out before it is complete.

Besides, HEAD is in feature freeze stabilization mode for the ever
impending 2.0 release:  The patch should wait until after the release.

> I think we should not backport this to 1.5.x, it is a new feature.

Agreed.

>       Implement setting environment variables and additional arguments
>       for shell wrappers to uninstalled programs.  Using this forces
>       all uninstalled programs to have wrappers.
> 
>       * libltdl/config/ltmain.m4sh (func_mode_link, shell wrapper):
>       New variables `wrapper_env', `wrapper_args' for the new link flags
>       `-wrapper-arg', `-wrapper-env'.  Cause a shell wrapper to always
>       be created for uninstalled programs, put the wrapper_env
>       variables in the environment before executing the real program,
>       and add the wrapper_args as its first arguments; both with
>       suitable quoting for active characters.
>       (link mode help): Add the new flags.
>       * doc/libtool.texi (Link mode): Document the new flags.  Note
>       the override of `-no-install'.
>       (Linking executables): Add cross reference to the wrapper script
>       discussion.
>       * tests/wrapper.at: New test.
>       * NEWS, THANKS, Makefile.am: Update.
>       Suggested by Behdad Esfahbod.

Cheers,
        Gary.

-- 
Gary V. Vaughan      ())_.  address@hidden,gnu.org}
Research Scientist   ( '/   http://blog.azazil.net
GNU Hacker           / )=   http://trac.azazil.net/projects/libtool
Technical Author   `(_~)_   http://sources.redhat.com/autobook

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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