aix: fix misreading of condition in 8f12a4e7add
authorAndres Freund <andres@anarazel.de>
Sun, 7 Aug 2022 18:34:42 +0000 (11:34 -0700)
committerAndres Freund <andres@anarazel.de>
Sun, 7 Aug 2022 18:34:42 +0000 (11:34 -0700)
This lead to choosing the aix4.1 specific way of building the export file for
the backend, rather than the modern one.

Per buildfarm member hoverfly.

Discussion: https://postgr.es/m/20220807182707.gi7pirwbz5etprfo@awork3.anarazel.de

src/backend/Makefile

index 7262861b12a52d43cb20a58b5046da15e4aab8bb..01d5a7448f225c3211e93426eca1f649a3abba59 100644 (file)
@@ -101,7 +101,7 @@ postgres: $(POSTGRES_IMP)
 
 $(POSTGRES_IMP): $(OBJS)
    $(LD) $(LDREL) $(LDOUT) SUBSYS.o $(call expand_subsys,$^)
-   $(MKLDEXPORT) SUBSYS.o $(bindir)/postgres > $@
+   $(MKLDEXPORT) SUBSYS.o . > $@
    @rm -f SUBSYS.o
 
 endif # aix