pgsql: meson: mingw: Add -Wl,--disable-auto-import, enable when linking

Поиск
Список
Период
Сортировка
От Andres Freund
Тема pgsql: meson: mingw: Add -Wl,--disable-auto-import, enable when linking
Дата
Msg-id E1oeSUZ-000N5L-Nw@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
meson: mingw: Add -Wl,--disable-auto-import, enable when linking with readline

I hadn't ported -Wl,--disable-auto-import over from the win32 template as I
had focused on msvc for windows. The flag is desirable as it makes it easier
to find problems one would have with msvc, particularly useful during cross
compilation.

This turned out to be a somewhat happy accident, as it allowed me to realize
that readline actually works on windows these days, as long as auto imports to
enable. Therefore enable auto-import again as part of linking to readline.

We perhaps can come up with a better solution for the readline issue, but this
seems good enough for now.

Discussion: http://postgr.es/m/20220928022724.erzuk5v4ai4b53do@awork3.anarazel.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/24ef127b6d1f268ca09f4c501b4655e914329c5a

Modified Files
--------------
meson.build | 9 +++++++++
1 file changed, 9 insertions(+)


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

Предыдущее
От: Peter Geoghegan
Дата:
Сообщение: Re: pgsql: Avoid improbable PANIC during heap_update.
Следующее
От: Peter Geoghegan
Дата:
Сообщение: Re: pgsql: Avoid improbable PANIC during heap_update.