Re: PL compilations ignores LDFLAGS - Mailing list pgsql-hackers

From Tom Lane
Subject Re: PL compilations ignores LDFLAGS
Date
Msg-id 27672.1240499478@sss.pgh.pa.us
Whole thread Raw
In response to PL compilations ignores LDFLAGS  (Zdenek Kotala <Zdenek.Kotala@Sun.COM>)
Responses Re: PL compilations ignores LDFLAGS  (Zdenek Kotala <Zdenek.Kotala@Sun.COM>)
List pgsql-hackers
Zdenek Kotala <Zdenek.Kotala@Sun.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


pgsql-hackers by date:

Previous
From: Zdenek Kotala
Date:
Subject: PL compilations ignores LDFLAGS
Next
From: Peter Eisentraut
Date:
Subject: Re: PL compilations ignores LDFLAGS