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

Поиск
Список
Период
Сортировка
От Sandro Mani
Тема Re: [Patch] Mingw: Fix import library extension, build actual static libraries
Дата
Msg-id CA+XB6rXnf8MJ2THfVeFG49B=o=oT9DNQcmsA08LD_hYAfMvkhw@mail.gmail.com
обсуждение исходный текст
Ответ на [Patch] Mingw: Fix import library extension, build actual staticlibraries  (Sandro Mani <manisandro@gmail.com>)
Ответы Re: [Patch] Mingw: Fix import library extension, build actual static libraries  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
Any chance these patches could be considered?

Thanks
Sandro

On Thu, Mar 7, 2019 at 3:23 PM Sandro Mani <manisandro@gmail.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

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Amit Langote
Дата:
Сообщение: Re: partitioned tables referenced by FKs
Следующее
От: Christoph Berg
Дата:
Сообщение: Re: minimizing pg_stat_statements performance overhead