pgsql: Link libpq with libdl if the platform needs that.

2025-07-09 Thread Tom Lane
Link libpq with libdl if the platform needs that. Since b0635bfda, libpq uses dlopen() and related functions. On some platforms these are not supplied by libc, but by a separate library libdl, in which case we need to make sure that that dependency is known to the linker. Meson seems to take car

pgsql: Link libpq with libdl if the platform needs that.

2025-07-09 Thread Tom Lane
Link libpq with libdl if the platform needs that. Since b0635bfda, libpq uses dlopen() and related functions. On some platforms these are not supplied by libc, but by a separate library libdl, in which case we need to make sure that that dependency is known to the linker. Meson seems to take car