pgsql: Improve meson's detection of perl build flags

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема pgsql: Improve meson's detection of perl build flags
Дата
Msg-id E1spTu9-0015Xk-HG@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Improve meson's detection of perl build flags

The current method of detecting perl build flags breaks if the path to
perl contains a space. This change makes two improvements. First,
instead of getting a list of ldflags and ccdlflags and then trying to
filter those out of the reported ldopts, we tell perl to suppress
reporting those in the first instance. Second, it tells perl to parse
those and output them, one per line. Thus any space on the option in a
file name, for example, is preserved.

Issue reported off-list by Muralikrishna Bandaru

Discussion: https://postgr.es/01117f88-f465-bf6c-9362-083bd72ca305@dunslane.net

Backpatch to release 16.

Branch
------
REL_17_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/dc2a660bd983f2675f357d279253256a2aef9836

Modified Files
--------------
meson.build | 25 ++++++++++++-------------
1 file changed, 12 insertions(+), 13 deletions(-)


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