From: | Sandro Mani <manisandro(at)gmail(dot)com> |
---|---|
To: | PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Re: [Patch] Mingw: Fix import library extension, build actual static libraries |
Date: | 2019-04-02 09:32:26 |
Message-ID: | CA+XB6rXnf8MJ2THfVeFG49B=o=oT9DNQcmsA08LD_hYAfMvkhw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Any chance these patches could be considered?
Thanks
Sandro
On Thu, Mar 7, 2019 at 3:23 PM Sandro Mani <manisandro(at)gmail(dot)com> wrote:
> Currently building postgresql for Win32 with a mingw toolchain produces
> import libraries with *.a extension, whereas the extension should be
> *.dll.a. There are various downstream workarounds for this, see i.e. [1]
> and [2]. The attached patch 0001-Fix-import-library-extension.patch
> addresses this.
>
> Related, no actual static libraries are produced alongside the respective
> dlls. The attached patch 0002-Build-static-libraries.patch addresses this,
> in a similar fashion as is already done for the AIX case in Makefile.shlib.
>
> Thanks Sandro
>
> [1]
> https://src.fedoraproject.org/rpms/mingw-postgresql/blob/master/f/mingw-postgresql.spec#_144
> [2]
> https://aur.archlinux.org/cgit/aur.git/tree/0001-Use-.dll.a-as-extension-for-import-libraries.patch?h=mingw-w64-postgresql
>
From | Date | Subject | |
---|---|---|---|
Next Message | Christoph Berg | 2019-04-02 09:37:29 | Re: minimizing pg_stat_statements performance overhead |
Previous Message | Amit Langote | 2019-04-02 09:27:08 | Re: partitioned tables referenced by FKs |