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

Re: PL compilations ignores LDFLAGS

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Zdenek Kotala <Zdenek(dot)Kotala(at)Sun(dot)COM>
Cc: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: PL compilations ignores LDFLAGS
Date: 2009-04-23 15:11:18
Message-ID: 27672.1240499478@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
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?

			regards, tom lane

In response to

Responses

pgsql-hackers by date

Next:From: Peter EisentrautDate: 2009-04-23 15:11:31
Subject: Re: PL compilations ignores LDFLAGS
Previous:From: Zdenek KotalaDate: 2009-04-23 14:50:47
Subject: PL compilations ignores LDFLAGS

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