[Top][All Lists]
[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
dashL-envvar.patch
Description: Text document
- Re: [4/11] Native MSVC support (file-magic-glob), (continued)
- Re: [4/11] Native MSVC support (file-magic-glob), Peter Rosin, 2007/07/12
- Re: [4/11] Native MSVC support (file-magic-glob), Paolo Bonzini, 2007/07/13
- Re: [4/11] Native MSVC support (file-magic-glob), Ralf Menzel, 2007/07/13
- Re: [4/11] Native MSVC support (file-magic-glob), Paolo Bonzini, 2007/07/13
- Re: [4/11] Native MSVC support (file-magic-glob), Peter Rosin, 2007/07/17
- Re: [4/11] Native MSVC support (file-magic-glob), Eric Blake, 2007/07/17
- Re: [4/11] Native MSVC support (file-magic-glob), Peter Rosin, 2007/07/18
- Re: [4/11] Native MSVC support (file-magic-glob), Charles Wilson, 2007/07/18
[5/11] Native MSVC support (dashL-envvar), Peter Rosin, 2007/07/10
[6/11] Native MSVC support (strip-testsuite), Peter Rosin, 2007/07/10
[7/11] Native MSVC support (compile-tag), Peter Rosin, 2007/07/10
[8/11] Native MSVC support (dashl-xform), Peter Rosin, 2007/07/10
[9/11] Native MSVC support (archiver-list-spec), Peter Rosin, 2007/07/10