Re: PL compilations ignores LDFLAGS

From: Zdenek Kotala <Zdenek(dot)Kotala(at)Sun(dot)COM>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: PL compilations ignores LDFLAGS
Date: 2009-04-23 15:32:19
Message-ID: 1240500739.1275.55.camel@localhost
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


Tom Lane píše v čt 23. 04. 2009 v 11:11 -0400:
> Zdenek Kotala <Zdenek(dot)Kotala(at)Sun(dot)COM> writes:
> > I hit a problem with libtcl.so that LDFLAGS is not propagated. The same
> > problem is with other PL languages as well.
>
> > Is it intention or a bug?
>
> It's intentional; LDFLAGS is for linking executables and may not be
> suitable for shlibs. I see that Makefile.shlib makes exceptions for
> some platforms though. What *specific* problem are you having, on what
> platform?

I have problem with setup builfarm member on Solaris 10. I need to pass
-R<path> (rpath). I can do it by LD_OPTIONS as we do it for package
building. I had only doubt if it is correct behavior.

however it seems to me that $rpath should be set like --with-libs, but
it look likes that it does not work.

Thanks Zdenek

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Zdenek Kotala 2009-04-23 15:35:07 Re: PL compilations ignores LDFLAGS
Previous Message Bill Moran 2009-04-23 15:23:20 Re: RFE: Transparent encryption on all fields