diff options
| author | Tom Lane | 2024-04-04 17:39:12 +0000 |
|---|---|---|
| committer | Tom Lane | 2024-04-04 17:39:12 +0000 |
| commit | 332d406140632d352145443b725a206b73ce2167 (patch) | |
| tree | 9de5147e44e928dfeb7c59847c6b3ffc46eb38e8 /src/test/modules | |
| parent | 2497a669effbbdda3e7be573d850b445d1ab6512 (diff) | |
Further cleanup for recent JSON-related commits.
The link commands in test_json_parser/Makefile were a long way
shy of a load, as evidenced by buildfarm failures. Model them
on pgxs.mk's PROGRAM rule. (Probably we should have put these
two test programs in different subdirectories so we could
actually use the PROGRAM rule. But I won't question that
decision today.)
Diffstat (limited to 'src/test/modules')
| -rw-r--r-- | src/test/modules/test_json_parser/Makefile | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/test/modules/test_json_parser/Makefile b/src/test/modules/test_json_parser/Makefile index 628256b6bbd..6f438629d8c 100644 --- a/src/test/modules/test_json_parser/Makefile +++ b/src/test/modules/test_json_parser/Makefile @@ -23,13 +23,11 @@ all: test_json_parser_incremental$(X) test_json_parser_perf$(X) %.o: $(top_srcdir)/$(subdir)/%.c -PARSER_LIBS = $(top_builddir)/src/common/libpgcommon.a $(top_builddir)/src/port/libpgport.a +test_json_parser_incremental$(X): test_json_parser_incremental.o + $(CC) $(CFLAGS) $^ $(PG_LIBS_INTERNAL) $(LDFLAGS) $(LDFLAGS_EX) $(PG_LIBS) $(LIBS) -o $@ -test_json_parser_incremental$(X): test_json_parser_incremental.o $(PARSER_LIBS) - $(CC) $(CFLAGS) $^ -o $@ - -test_json_parser_perf$(X): test_json_parser_perf.o $(PARSER_LIBS) - $(CC) $(CFLAGS) $^ -o $@ +test_json_parser_perf$(X): test_json_parser_perf.o + $(CC) $(CFLAGS) $^ $(PG_LIBS_INTERNAL) $(LDFLAGS) $(LDFLAGS_EX) $(PG_LIBS) $(LIBS) -o $@ speed-check: test_json_parser_perf$(X) @echo Standard parser: |
