From 78d4ca03d4c868afadca2e0ffecf3cf810ecc01f Mon Sep 17 00:00:00 2001
From: Bruce Momjian <bruce@momjian.us>
Date: Mon, 16 Oct 2000 15:00:15 +0000
Subject: [PATCH] Something changed, that now shows that there is a dependency
 missing in Makefile .aix

Please apply to current, to fix shared lib build from single .o files.
Thanks
Andreas
---
 src/makefiles/Makefile.aix | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/makefiles/Makefile.aix b/src/makefiles/Makefile.aix
index c40ff6d374c..46bf9dfdabe 100644
--- a/src/makefiles/Makefile.aix
+++ b/src/makefiles/Makefile.aix
@@ -17,9 +17,9 @@ $(POSTGRES_IMP):
 	$(MKLDEXPORT) postgres $(bindir) > $@
 	$(CC) -Wl,-bE:$(top_builddir)/src/backend/$@ -o postgres $(OBJS) $(LDFLAGS)
 
-%$(EXPSUFF):
+%$(EXPSUFF): %.o
 	$(MKLDEXPORT) $*.o `pwd` > $*$(EXPSUFF)
 
 %$(DLSUFFIX): %.o %$(EXPSUFF)
-	@echo Making share library $@ from $*.o, $*$(EXPSUFF), and installed postgres.imp
+	@echo Making shared library $@ from $*.o, $*$(EXPSUFF), and installed postgres.imp
 	$(CC) -Wl,-H512 -Wl,-bM:SRE -Wl,-bI:$(libdir)/$(POSTGRES_IMP) -Wl,-bE:$*$(EXPSUFF) -o $@ $*.o $(LDFLAGS) $(CFLAGS_SL)
-- 
GitLab