]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix Mkvcbuild.pm builds of test_cloexec.c.
authorThomas Munro <tmunro@postgresql.org>
Mon, 29 Dec 2025 02:22:16 +0000 (15:22 +1300)
committerThomas Munro <tmunro@postgresql.org>
Mon, 29 Dec 2025 02:47:31 +0000 (15:47 +1300)
commit45d92b76dc4ac31d44e46ca38bee12d5d8fac1f5
treeb69d11df4e6bede509f8ed14d3c756091ef651c7
parent559f9e90dbbd5d72b1da802703317913280c5080
Fix Mkvcbuild.pm builds of test_cloexec.c.

Mkvcbuild.pm scrapes Makefile contents, but couldn't understand the
change made by commit bec2a0aa.  Revealed by BF animal hamerkop in
branch REL_16_STABLE.

1.  It used += instead of =, which didn't match the pattern that
Mkvcbuild.pm looks for.  Drop the +.

2.  Mkvcbuild.pm doesn't link PROGRAM executables with libpgport.  Apply
a local workaround to REL_16_STABLE only (later branches dropped
Mkvcbuild.pm).

Backpatch-through: 16
Reported-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/175163.1766357334%40sss.pgh.pa.us
src/test/modules/test_cloexec/Makefile