Re: [Patch] Mingw: Fix import library extension, build actual static libraries

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: Sandro Mani <manisandro(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: [Patch] Mingw: Fix import library extension, build actual static libraries
Date: 2019-09-04 06:47:16
Message-ID: 96c89900-98c4-dc39-e60c-4d600bcfeceb@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2019-03-07 15:23, Sandro Mani wrote:
> Currently building postgresql for Win32 with a mingw toolchain produces
> import libraries with *.a extension, whereas the extension should be
> *.dll.a.

I have read the MinGW documentation starting from
<http://www.mingw.org/wiki/DLL> and have found no information supporting
this claim. All their examples match our existing naming. What is your
source for this information -- other than ...

> There are various downstream workarounds for this, see i.e. [1]
> and [2]. The attached patch 0001-Fix-import-library-extension.patch
> addresses this.

I'm confused what Fedora and Arch Linux have to do with this. Are they
distributing Windows binaries of third-party software?

--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2019-09-04 06:48:19 Re: [HACKERS] CLUSTER command progress monitor
Previous Message Ian Barwick 2019-09-04 06:19:57 Re: [PATCH] psql: add tab completion for \df slash command suffixes