libtool-patches
[Top][All Lists]
Advanced

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

Re: [5/11] Native MSVC support (dashL-envvar)


From: Peter Rosin
Subject: Re: [5/11] Native MSVC support (dashL-envvar)
Date: Tue, 17 Jul 2007 10:53:51 +0200
User-agent: Mutt/1.5.12-2006-07-14

On Thu, Jul 12, 2007 at 11:42:07PM +0200, Peter Rosin wrote:
> On Tue, Jul 10, 2007 at 11:29:31PM +0200, Peter Rosin wrote:
> > The MSVC linker doesn't have a -L option, and doesn't understand posix
> > paths. Move the paths to an envvar (LINK) with a prefix (-LIBPATH:)
> > 
> >     * libltdl/m4/libtool.m4: Add new tag variables to specify
> >     to what variable (dashL_envvar) -L options should be moved,
> >     and what to prepend to the -L path (dashL_envvar_spec).
> >     * libltdl/config/ltmain.m4sh (func_dashL_to_envvar): New
> >     function that moves -L options to a variable.
> >     * libltdl/config/ltmain.m4sh (func_mode_link): Prior to
> >     linking, call above function if dashL_envvar is set.
> 
> Continuing the trend of quoting old comments from Ralf, here's
> another one regarding this part of the previous all-in-one patch:
> 
>       "You should use func_stripname here."
> 
> I believe I have fixed that in this patch.

Updated with a fix found with the testcase just posted in the
"[4/11] file-magic-glob" thread. -L options were not found by
MSVC in the $dashL_envvar variable since $dashL_envvar might not
have been exported.

Cheers,
Peter

Attachment: dashL-envvar.patch
Description: Text document


reply via email to

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