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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2009-04-23 15:11:31 Re: PL compilations ignores LDFLAGS
Previous Message Zdenek Kotala 2009-04-23 14:50:47 PL compilations ignores LDFLAGS