Seems to be a meson quirk [1]. I could reproduce this, and adding -Db_lundef=false on top of your configuration solved the issue. [1]: https://github.com/mesonbuild/meson/issues/3853
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных