libtool-patches
[Top][All Lists]
Advanced

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

Re: Reviving: [PATCH] [cygwin|mingw] Create UAC manifest files.


From: Ralf Wildenhues
Subject: Re: Reviving: [PATCH] [cygwin|mingw] Create UAC manifest files.
Date: Fri, 18 Jun 2010 20:28:26 +0200
User-agent: Mutt/1.5.20 (2010-04-22)

* Olly Betts wrote on Fri, Jun 18, 2010 at 01:21:27PM CEST:
> On 2010-06-18, Charles Wilson <address@hidden> wrote:
> >     b3) For these reasons, it's probably best if the package
> >         maintainer also provides rules for "embedding" the manifest
> >         in binary form into the "real" exe.  How these rules will
> >         deal with the whole lt-*.exe naming problem (recompiling the
> >         manifest object to specify the "true" exe name, and then
> >         relinking, on libtool --mode=install?) is an open question.
> 
> Would it work to put the uninstalled executable in a different directory
> (a subdirectory or perhaps a sibling directory of .libs) so it could
> have the same name, rather than having the lt- prefix?

Or, since we already mangle  s/^/lt-/, we could go all the way and
mangle away 'patch', 'instal', 'update', 'setup' strings in the name?

There just has to be some way to deal with this that isn't totally ugly.

> That would avoid having to adjust the manifest, and also would reduce
> other issues the current approach causes, for example with programs which
> change behaviour depending on what name they find in argv[0].

Yes, that sounds appealing, too.

Cheers,
Ralf



reply via email to

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