Re: BUG #18513: PG17 build on windows generates postgres.exe.lib instead of postgres.lib - Mailing list pgsql-bugs

From Peter Eisentraut
Subject Re: BUG #18513: PG17 build on windows generates postgres.exe.lib instead of postgres.lib
Date
Msg-id 080afa1e-476b-44f2-b052-4d669c23d290@eisentraut.org
Whole thread Raw
In response to BUG #18513: PG17 build on windows generates postgres.exe.lib instead of postgres.lib  (PG Bug reporting form <noreply@postgresql.org>)
Responses Re: BUG #18513: PG17 build on windows generates postgres.exe.lib instead of postgres.lib
List pgsql-bugs
On 17.06.24 07:44, PG Bug reporting form wrote:
> The following bug has been logged on the website:
> 
> Bug reference:      18513
> Logged by:          Muralikrishna Bandaru
> Email address:      muralikrishna.bandaru@enterprisedb.com
> PostgreSQL version: 17beta1
> Operating system:   Windows
> Description:
> 
> PG17 build on windows is generating postgres.exe.lib. But all the previous
> versions generating postgres.lib file. Due to this renaming the extensions
> fail to link with this library by default as they expect postgres.lib. For
> example here is the link for system_stats project file
> https://github.com/EnterpriseDB/system_stats/blob/master/system_stats.vcxproj#L101
> 
> This seems like a bug, Can some one please confirm?

The attached patch might fix it.  At least I appear to get the right 
output file name.  I don't have the ability to check whether it does the 
right thing on Cygwin.

Attachment

pgsql-bugs by date:

Previous
From: Amit Langote
Date:
Subject: Re: JIT crash introduced by 6185c9737c with LLVM 14
Next
From: Floris Van Nee
Date:
Subject: error cache lookup failed in plpgsql function