Re: allow meson to find ICU in non-standard localtion - Mailing list pgsql-hackers

From Jacob Champion
Subject Re: allow meson to find ICU in non-standard localtion
Date
Msg-id CAAWbhmjKQhZyxqJCWE2HGXV=SDKEGdE=YU=H+zA55Fup1hNg1w@mail.gmail.com
Whole thread Raw
In response to Re: allow meson to find ICU in non-standard localtion  (Jeff Davis <pgsql@j-davis.com>)
Responses Re: allow meson to find ICU in non-standard localtion  (Jeff Davis <pgsql@j-davis.com>)
List 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 by date:

Previous
From: "Gregory Stark (as CFM)"
Date:
Subject: Re: [PATCH] Make ON CONFLICT DO NOTHING and ON CONFLICT DO UPDATE consistent
Next
From: "Gregory Stark (as CFM)"
Date:
Subject: Re: Flush SLRU counters in checkpointer process