Re: AIX 4.1 shared library support - Mailing list pgsql-ports

From Rocco Altier
Subject Re: AIX 4.1 shared library support
Date
Msg-id Pine.A41.4.21.0104131151120.320678-100000@apdev
Whole thread Raw
In response to AIX 4.1 shared library support  (Rocco Altier <roccoa@routescape.com>)
Responses Re: AIX 4.1 shared library support
List pgsql-ports
On Fri, 13 Apr 2001, Tom Lane wrote:

> Rocco Altier <roccoa@routescape.com> writes:
> > I have noticed that only 1 of the 2 fixes necessary for AIX 4.1 have made
> > it into CVS.
>
> > The change that I submitted to Makefile.shlib has not gone in.
>
> Which was?
>
Here is patch again.

It only affects AIX 4.1 or earlier, since the LDFLAGS_SL is not defined
for AIX greater than 4.1

Thanks,
    -rocco


*** Makefile.shlib.ORIG    Mon Apr  2 12:58:28 2001
--- Makefile.shlib    Fri Apr 13 11:53:32 2001
***************
*** 291,297 ****
  # AIX case
  $(shlib): lib$(NAME).a
      $(MKLDEXPORT) lib$(NAME).a > lib$(NAME)$(EXPSUFF)
!     $(COMPILER) -Wl,-H512 -Wl,-bM:SRE -Wl,-bI:$(top_builddir)/src/backend/$(POSTGRES_IMP)
-Wl,-bE:lib$(NAME)$(EXPSUFF)-o $@ $< $(LDFLAGS) $(SHLIB_LINK) 

  endif # PORTNAME == aix

--- 291,297 ----
  # AIX case
  $(shlib): lib$(NAME).a
      $(MKLDEXPORT) lib$(NAME).a > lib$(NAME)$(EXPSUFF)
!     $(COMPILER) -Wl,-H512 -Wl,-bM:SRE -Wl,-bI:$(top_builddir)/src/backend/$(POSTGRES_IMP)
-Wl,-bE:lib$(NAME)$(EXPSUFF)-o $@ $< $(LDFLAGS) $(SHLIB_LINK) $(LDFLAGS_SL) 

  endif # PORTNAME == aix



pgsql-ports by date:

Previous
From: Jason Tishler
Date:
Subject: Re: Fw: Postgres on WinNT4 / SP5
Next
From: Peter Eisentraut
Date:
Subject: Re: AIX 4.1 shared library support