]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
libpq-oauth: use correct c_args in meson.build
authorJacob Champion <jchampion@postgresql.org>
Wed, 17 Dec 2025 19:54:56 +0000 (11:54 -0800)
committerJacob Champion <jchampion@postgresql.org>
Wed, 17 Dec 2025 19:54:56 +0000 (11:54 -0800)
Copy-paste bug from b0635bfda: libpq-oauth.so was being built with
libpq_so_c_args, rather than libpq_oauth_so_c_args. (At the moment, the
two lists are identical, but that won't be true forever.)

Reviewed-by: Chao Li <li.evan.chao@gmail.com>
Discussion: https://postgr.es/m/CAOYmi%2BmrGg%2Bn_X2MOLgeWcj3v_M00gR8uz_D7mM8z%3DdX1JYVbg%40mail.gmail.com
Backpatch-through: 18

src/interfaces/libpq-oauth/meson.build

index df064c59a4070bf56ee723265fbdaa272ec93d12..4f006e2c381c544bb758af292371a710cc7befb4 100644 (file)
@@ -40,7 +40,7 @@ libpq_oauth_name = 'libpq-oauth-@0@'.format(pg_version_major)
 libpq_oauth_so = shared_module(libpq_oauth_name,
   libpq_oauth_sources + libpq_oauth_so_sources,
   include_directories: [libpq_oauth_inc, postgres_inc],
-  c_args: libpq_so_c_args,
+  c_args: libpq_oauth_so_c_args,
   c_pch: pch_postgres_fe_h,
   dependencies: [frontend_shlib_code, libpq, libpq_oauth_deps],
   link_depends: export_file,