git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] vcbuild: fix library name for expat with make MSVC=1

From
Jonathan Nieder <jrnieder@gmail.com>
Date
Sep 3, 2020, 00:06 UTC
Message-ID
<20200903000640.GD4035286@google.com>
In-Reply-To
<pull.722.git.1599077798953.gitgitgadget@gmail.com>

(cc-ing a couple of Windows experts) Orgad Shaneh wrote:

> Subject: vcbuild: fix library name for expat with make MSVC=1

Do you have more details? For example, what error message does the build produce without this change?

Show 8 quoted lines
> Signed-off-by: Orgad Shaneh <orgads@gmail.com>
> ---
> Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-722%2Forgads%2Fvcbuild-expat-v1
> Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-722/orgads/vcbuild-expat-v1
> Pull-Request: https://github.com/gitgitgadget/git/pull/722
>
>  compat/vcbuild/scripts/clink.pl | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

I'm ignorant enough about the platform-specific details involved that I'd like an Ack from one of the Windows folks.

Thanks, Jonathan

Show 17 quoted lines
> diff --git a/compat/vcbuild/scripts/clink.pl b/compat/vcbuild/scripts/clink.pl
> index 61ad084a7b..df167d1e1a 100755
> --- a/compat/vcbuild/scripts/clink.pl
> +++ b/compat/vcbuild/scripts/clink.pl
> @@ -66,7 +66,7 @@
>  		}
>  		push(@args, $lib);
>  	} elsif ("$arg" eq "-lexpat") {
> -		push(@args, "expat.lib");
> +		push(@args, "libexpat.lib");
>  	} elsif ("$arg" =~ /^-L/ && "$arg" ne "-LTCG") {
>  		$arg =~ s/^-L/-LIBPATH:/;
>  		push(@lflags, $arg);
> 
> base-commit: e19713638985533ce461db072b49112da5bd2042
> -- 
> gitgitgadget
Previous: Orgad Shaneh via GitGitGadgetNext: Junio C Hamano
Message 2 of 4 in “vcbuild: fix library name for expat with make MSVC=1”
  1. vcbuild: fix library name for expat with make MSVC=1Orgad Shaneh via GitGitGadget, Sep 2, 2020
  2. Jonathan NiederSep 3, 2020
  3. Junio C HamanoSep 3, 2020
  4. Johannes SchindelinSep 3, 2020

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.