Skip to content

Commit e9c7af3

Browse files
committed
Use more universal condition in Makefile
1 parent 78adfdf commit e9c7af3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ else
3232
srchome=$(top_srcdir)
3333
endif
3434

35-
ifneq (,$(filter 10 11 12,$(MAJORVERSION)))
35+
ifeq (,$(filter 9.5 9.6,$(MAJORVERSION)))
3636
OBJS += src/walmethods.o
3737
EXTRA_CLEAN += src/walmethods.c src/walmethods.h
3838
INCLUDES += src/walmethods.h
@@ -64,7 +64,7 @@ src/streamutil.h: $(top_srcdir)/src/bin/pg_basebackup/streamutil.h
6464
rm -f $@ && $(LN_S) $(srchome)/src/bin/pg_basebackup/streamutil.h $@
6565

6666

67-
ifneq (,$(filter 10 11 12,$(MAJORVERSION)))
67+
ifeq (,$(filter 9.5 9.6,$(MAJORVERSION)))
6868
src/walmethods.c: $(top_srcdir)/src/bin/pg_basebackup/walmethods.c
6969
rm -f $@ && $(LN_S) $(srchome)/src/bin/pg_basebackup/walmethods.c $@
7070
src/walmethods.h: $(top_srcdir)/src/bin/pg_basebackup/walmethods.h

0 commit comments

Comments
 (0)