postgres.git / summary / log / commit / refs
commit 645bda2a7155fff57cc3da2ab923202187c72957
Author: Noah Misch <noah@leadboat.com>
Date: Sun Jun 16 19:29:30 2024 +0000
First released in: 17.0
Add Windows file version information to test_json_parser programs.
src/test/modules/test_json_parser/Makefile | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/test/modules/test_json_parser/Makefile b/src/test/modules/test_json_parser/Makefile
index 6f438629d8c..2dc7175b7c8 100644
--- a/src/test/modules/test_json_parser/Makefile
+++ b/src/test/modules/test_json_parser/Makefile
@@ -4,7 +4,7 @@ PGAPPICON = win32
TAP_TESTS = 1
-OBJS = test_json_parser_incremental.o test_json_parser_perf.o
+OBJS = test_json_parser_incremental.o test_json_parser_perf.o $(WIN32RES)
EXTRA_CLEAN = test_json_parser_incremental$(X) test_json_parser_perf$(X)
@@ -23,10 +23,10 @@ all: test_json_parser_incremental$(X) test_json_parser_perf$(X)
%.o: $(top_srcdir)/$(subdir)/%.c
-test_json_parser_incremental$(X): test_json_parser_incremental.o
+test_json_parser_incremental$(X): test_json_parser_incremental.o $(WIN32RES)
$(CC) $(CFLAGS) $^ $(PG_LIBS_INTERNAL) $(LDFLAGS) $(LDFLAGS_EX) $(PG_LIBS) $(LIBS) -o $@
-test_json_parser_perf$(X): test_json_parser_perf.o
+test_json_parser_perf$(X): test_json_parser_perf.o $(WIN32RES)
$(CC) $(CFLAGS) $^ $(PG_LIBS_INTERNAL) $(LDFLAGS) $(LDFLAGS_EX) $(PG_LIBS) $(LIBS) -o $@
speed-check: test_json_parser_perf$(X)
[parent: 8866ed956057]