Re: [PATCH] meson: Update meson to enable building postgres as a subproject

Поиск
Список
Период
Сортировка
От Tristan Partin
Тема Re: [PATCH] meson: Update meson to enable building postgres as a subproject
Дата
Msg-id DFH26TBGSU6W.3OH7HPP1FRK0L@partin.io
обсуждение исходный текст
Ответ на [PATCH] meson: Update meson to enable building postgres as a subproject  (Elliot Haisley <elliot.haisley@outlook.com>)
Список pgsql-hackers
On Mon Jan 5, 2026 at 5:50 PM CST, Niyaz Hazigaleyev wrote:
> I also made a similar patch here
> https://www.postgresql.org/message-id/F28283CF-AC9C-4930-9D84-56CD9E105504%40gmail.com.
> I pretty much did the same thing but I also added postgres_inc to
> dependency because it cannot find postgres headers inside libpq’s
> headers. After looking at your patch i have few questions. Is
> meson.override_dependency(‘libpq’, libpq) really needed? It looks like
> it does nothing. In flex cmd args you removed —build-dir and
> —source-dir, was that necessary? Also when I was testing ur patch
> I couldn’t build libpq because of the problem with include directories
> of dependency that I mentioned. I attach the result patch with fix
> which only adds postgres_inc to libpq dependency include_directories
> to your patch.

I didn't have any problems with include directories, but it's possible
that my system corrupted my tests, as in my system includes supplemented
the missing subproject includes.

I removed the args from pgflex because they aren't used.

--
Tristan Partin
Databricks (https://databricks.com)



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