Re: allow meson to find ICU in non-standard localtion

Поиск
Список
Период
Сортировка
От Jacob Champion
Тема Re: allow meson to find ICU in non-standard localtion
Дата
Msg-id CAAWbhmjKQhZyxqJCWE2HGXV=SDKEGdE=YU=H+zA55Fup1hNg1w@mail.gmail.com
обсуждение исходный текст
Ответ на Re: allow meson to find ICU in non-standard localtion  (Jeff Davis <pgsql@j-davis.com>)
Ответы Re: allow meson to find ICU in non-standard localtion  (Jeff Davis <pgsql@j-davis.com>)
Список pgsql-hackers
On Sun, Feb 26, 2023 at 7:36 PM Jeff Davis <pgsql@j-davis.com> wrote:
>
> On Sun, 2023-02-26 at 09:57 -0800, Andres Freund wrote:
> > If you tell meson where to find the pkg-config file in those
> > directories it'd
> > also work. -Dpkg_config_path=...
>
> Setup is able to find it, which is good, but it seems like it's not
> adding it to RPATH so it's not working.

For my custom OpenSSL setups using -Dpkg_config_path, meson initially
adds the correct RPATH during build, then accidentally(?) strips it
during the `ninja install` step. This has been complained about [1],
and it seems like maybe they intended to fix it back in 0.55, but I'm
not convinced they did. :)

I work around it by manually setting -Dextra_lib_dirs. I just tried
doing that with ICU 72, and it worked without a patch. Hopefully that
helps some?

--Jacob

[1] https://github.com/mesonbuild/meson/issues/6541



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

Предыдущее
От: "Gregory Stark (as CFM)"
Дата:
Сообщение: Re: [PATCH] Make ON CONFLICT DO NOTHING and ON CONFLICT DO UPDATE consistent
Следующее
От: "Gregory Stark (as CFM)"
Дата:
Сообщение: Re: Flush SLRU counters in checkpointer process