Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group