]> granicus.if.org Git - postgresql/commitdiff
Something changed, that now shows that there is a dependency missing in
authorBruce Momjian <bruce@momjian.us>
Mon, 16 Oct 2000 15:00:15 +0000 (15:00 +0000)
committerBruce Momjian <bruce@momjian.us>
Mon, 16 Oct 2000 15:00:15 +0000 (15:00 +0000)
Makefile .aix

Please apply to current, to fix shared lib build from single .o files.
Thanks
Andreas

src/makefiles/Makefile.aix

index c40ff6d374cd84dffec5f78b393341170c31e94f..46bf9dfdabea2d71be951c39cdea84bd2c7a670f 100644 (file)
@@ -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)