]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Improve meson's detection of perl build flags
authorAndrew Dunstan <andrew@dunslane.net>
Sat, 14 Sep 2024 14:26:25 +0000 (10:26 -0400)
committerAndrew Dunstan <andrew@dunslane.net>
Sat, 14 Sep 2024 14:37:02 +0000 (10:37 -0400)
commitcb52d1cdd1031d3b0d66a001b7b153990a0497c8
tree48cd45a1f453a345fc0c4493862172dfe6c5c891
parent0a0db46313749bb379db65eb987af6bf29470300
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.
meson.build