Hi Andres and team,

 

Please find attached the patch addressing Meson build changes for AIX.

We tried to build using below meson

## meson -v

1.6.1

 

For the following files, the shared_module() function requires specifying the

appropriate symbol import file, which is provided via the aix_link_args

variable:

src/backend/jit/llvm/meson.build

src/backend/replication/libpqwalreceiver/meson.build

src/backend/replication/pgoutput/meson.build

src/backend/snowball/meson.build

src/backend/utils/mb/conversion_procs/meson.build

 

Additionally, with the latest version of Meson, when building static libraries,

the library file name must be suffixed with “_static” in the following files:

src/interfaces/ecpg/compatlib/meson.build

src/interfaces/ecpg/ecpglib/meson.build

src/interfaces/ecpg/pgtypeslib/meson.build

src/interfaces/libpq/meson.build

 

 

Main AIX changes patch - 0001-Changes-to-add-support-for-AIX.v9.pg19.patch (previously submitted one)

Meson AIX changes patch - 0001-AIX-changes-for-meson-build.patch

 

Looking forward to hearing your thoughts on these changes.

Your feedback on these updates is highly valued.

 

Thanks,

Sriram.