Re: PL compilations ignores LDFLAGS

From: Zdenek Kotala <Zdenek(dot)Kotala(at)Sun(dot)COM>
To: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: PL compilations ignores LDFLAGS
Date: 2009-04-23 15:14:59
Message-ID: 1240499699.1275.38.camel@localhost
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


Zdenek Kotala píše v čt 23. 04. 2009 v 16:50 +0200:
> 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?

I'm looking on Makefile.shlib and I see there strange line:

# Insert -L from LDFLAGS after any -L already present in SHLIB_LINK
SHLIB_LINK := $(filter -L%, $(SHLIB_LINK)) $(filter -L%, $(LDFLAGS)) $(filter-out -L%, $(SHLIB_LINK))

It seems to me that one of these line are not correct. But anyway I lost -R somewhere.

Zdenek

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message tomas 2009-04-23 15:21:43 Re: RFE: Transparent encryption on all fields
Previous Message Peter Eisentraut 2009-04-23 15:11:31 Re: PL compilations ignores LDFLAGS