Re: unicode test programs don't build with meson
Aleksander Alekseev <aleksander@timescale.com>
From: Aleksander Alekseev <aleksander@timescale.com>
To: pgsql-hackers <pgsql-hackers@postgresql.org>
Cc: Peter Eisentraut <peter@eisentraut.org>
Date: 2024-10-18T13:17:52Z
Lists: pgsql-hackers
Hi Peter,
> 1) Add libintl directly to the affected programs, like
>
> case_test = executable('case_test',
> ['case_test.c'],
> - dependencies: [frontend_port_code, icu],
> + dependencies: [frontend_port_code, icu, libintl],
> include_directories: inc,
> link_with: [common_static, pgport_static],
> build_by_default: false,
To me the first option seems to be the most natural one (does the
program depend on the library? add it to the list of dependencies for
this program). Also it seems to be most consistent with what we
currently have, see how icu is listed.
--
Best regards,
Aleksander Alekseev
Commits
-
meson: Add missing dependency to unicode test programs
- 2845cd1ca0cd 18.0 landed