Re: unicode test programs don't build with meson - Mailing list pgsql-hackers

From Aleksander Alekseev
Subject Re: unicode test programs don't build with meson
Date
Msg-id CAJ7c6TOFm6kgAop859TiUaXp6O9xwR-Dt8mu8U6qMqtGgFCBLQ@mail.gmail.com
Whole thread Raw
In response to unicode test programs don't build with meson  (Peter Eisentraut <peter@eisentraut.org>)
Responses Re: unicode test programs don't build with meson
List 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



pgsql-hackers by date:

Previous
From: Stefan Fercot
Date:
Subject: Re: Recovery of .partial WAL segments
Next
From: Alvaro Herrera
Date:
Subject: Re: Use more CppAsString2() in pg_amcheck.c