diff options
| author | Thomas Munro <tmunro@postgresql.org> | 2025-12-29 15:22:16 +1300 |
|---|---|---|
| committer | Thomas Munro <tmunro@postgresql.org> | 2025-12-29 15:48:27 +1300 |
| commit | 4da5c33a3a046fc81a6b490568801c5739286936 (patch) | |
| tree | 5e94ce2788306bb6fdf675f6e7c88a9e285291f8 | |
| parent | 7e9f852a79fe19d4d0f18aabc32a620797fb676e (diff) | |
Fix Mkvcbuild.pm builds of test_cloexec.c.origin/REL_18_STABLE
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
| -rw-r--r-- | src/test/modules/test_cloexec/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/modules/test_cloexec/Makefile b/src/test/modules/test_cloexec/Makefile index cd16a59add5..db3876f21e4 100644 --- a/src/test/modules/test_cloexec/Makefile +++ b/src/test/modules/test_cloexec/Makefile @@ -3,8 +3,8 @@ PGFILEDESC = "test_cloexec - test O_CLOEXEC flag handling" PGAPPICON = win32 -PROGRAM += test_cloexec -OBJS += $(WIN32RES) test_cloexec.o +PROGRAM = test_cloexec +OBJS = $(WIN32RES) test_cloexec.o NO_INSTALLCHECK = 1 TAP_TESTS = 1 |
